Description Usage Arguments Value Examples
A function to create a data frame displaying the probability for all possible number of successes given the number of trials and the probability of success.
1 | bin_distribution(trials, prob)
|
trials |
an integer, the number of trials |
prob |
an integer of the probability of success for one trial |
a data frame with the probability for all possible number of successes given the number of trials and the probability of success.
1 | bin_distribution(10,0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.