Description Usage Arguments Value Examples
A function to calculate the probability of getting k successes in n trials given p probability.
1 | bin_probability(success, trials, prob)
|
success |
an integer or vector of numbers, the value of successes |
trials |
an integer, the number of trials |
prob |
an integer of the probability of success for one trial |
a double, the probability of getting the specified number of successes within given trials assuming the give probability of success
1 | bin_probability(4,7,0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.