R exercise

Chapter 6 Exercise 9b

Sign in to hand in your solution and get feedback.