MulaiMulai sekarang secara gratis

Using the pbirthday function

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

Latihan ini adalah bagian dari kursus

Probability Puzzles in R

Lihat Kursus

Petunjuk latihan

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

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

# Calculate the probability of a match for a room size of 50
Edit dan Jalankan Kode