Aan de slagGa gratis aan de slag

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

Cursus bekijken

Oefeninstructies

  • Use the pbirthday function 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
Code bewerken en uitvoeren