Assignment 6 Part 1e

Assignment 6 Part 1e

by Susana Wu -
Number of replies: 1

I'm working on using *apply function on the avg.n.birthdays function to repeat the calculation multiple times for the number of people from 1 to n. But I am having trouble applying each element in 1 to n to this avg.n.birthdays function. Should I be adding additional arguments to the *apply function? 

In reply to Susana Wu

Re: Assignment 6 Part 1e

by Erik Spence -
The average.n.birthdays function takes two arguments. If you're going to use an *apply function with it you'll need to pass it the second argument. How to do this is shown on the Assignment web page.