R exercise

Chapter 2 Exercise 10

Sign in to hand in your solution and get feedback.