Description Usage Arguments Value Examples
Simulate a binomial distribution as a series of bernoulli trials
1 | mybin(iter = 100, n = 10, p = 0.5)
|
iter |
- the number of n-samples to draw |
n |
- sample size for each iteration |
p |
- the probability of a 'Success' |
the calculated probability of success
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.