R exercise

Chapter 3 Exercise 12

Sign in to hand in your solution and get feedback.