Description Usage Arguments Value Examples
My binomial simulation
1 | mybin(iter = 100, n = 10, p = 0.5)
|
iter |
Number of trials to run |
n |
Size of sample |
p |
Probability of success (1) |
A table and barplot with the simulated frequency distribution
1 | mybin(iter=10000, n=20, p=0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.