Using the pbirthday function
Now, let us use the pbirthday function to confirm our simulated answer from the previous exercise.
Deze oefening maakt deel uit van de cursus
Probability Puzzles in R
Oefeninstructies
- Use the
pbirthdayfunction with a room of 50 people.
Praktische interactieve oefening
Probeer deze oefening eens door deze voorbeeldcode in te vullen.
# Calculate the probability of a match for a room size of 50