Description Usage Arguments Value Examples
calculates the probability of k successes on n repeated trials
1 | bin_probability(success, trials, prob)
|
success |
(integer) number of successes |
trials |
(integer) number of trials |
prob |
(numeric) probability of success |
the probability of k successes on n repeated trials
1 2 | bin_probability(success = 2, trials = 5, prob = 0.5)
bin_probability(success = 0:2, trials = 5, prob = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.