Using the pbirthday function
Now, let us use the pbirthday
function to confirm our simulated answer from the previous exercise.
Este ejercicio forma parte del curso
Probability Puzzles in R
Instrucciones del ejercicio
- Use the
pbirthday
function with a room of 50 people.
Ejercicio interactivo práctico
Prueba este ejercicio y completa el código de muestra.
# Calculate the probability of a match for a room size of 50