Description Usage Arguments Value Examples
Simulates tossing a coin a given number of times
1 | bin_probability(success, trials, prob)
|
success |
number of successes |
prob |
probability |
k |
number of successes |
vector of tosses
1 | bin_probability(success = 2, trials = 5, prob = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.