Function that takes the size of the group and the number of simulations to run to calculate the probability of that group having two or more members with the same birthday.
1 | bdayprob(groupsize, nsims, n = 2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.