R exercise

Chapter 6 Exercise 8b

Sign in to hand in your solution and get feedback.