Description Usage Arguments Value Examples
calculate the probability of getting k successes with probability p in n trials
1 | bin_probability(k, n, p)
|
k |
number of successes |
n |
number of trials |
p |
probability of success |
the probability of getting k successes with probability p in n trials
1 2 3 | bin_probability(k = 2, n = 5, p = 0.5)
bin_probability(k = 0:2, n = 5, p = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.