Using the pbirthday function
Now, let us use the pbirthday function to confirm our simulated answer from the previous exercise.
Questo esercizio fa parte del corso
Probability Puzzles in R
Istruzioni dell'esercizio
- Use the
pbirthdayfunction with a room of 50 people.
Esercizio pratico interattivo
Prova a risolvere questo esercizio completando il codice di esempio.
# Calculate the probability of a match for a room size of 50