ComeçarComece de graça

Using the pbirthday function

Now, let us use the pbirthday function to confirm our simulated answer from the previous exercise.

Este exercício faz parte do curso

Probability Puzzles in R

Ver curso

Instruções do exercício

  • Use the pbirthday function with a room of 50 people.

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

# Calculate the probability of a match for a room size of 50
Editar e executar o código