Description Usage Arguments Value Examples
A binomial simulation
1 | mybin(iter = 100, n = 10, p = 0.5)
|
iter |
the number of iterations |
n |
the number of Bernoulli trials |
p |
the probability of a success in each trial |
returns a barplot of relative frequencies and a table of the same
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.