Description Usage Arguments Format Value Examples
function which computes probabilities for getting exactly k successes in n trials with probability p
1 |
trials |
a non-negative integer which provides the number of trials |
prob |
a number between 0 and 1 which gives the probablity of a success on an individual draw |
An object of class numeric
of length 1.
an object of bindis class, binomial distribution of probabilities
1 2 3 4 5 | default
dis1 <- bin_distribution(1, 0.5)
#example 2
dis2 <- bin_distribution(10, 0.2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.