Creates a barplot showing the number of sucesses after a given number of iterations
1 | mybin(iter = 1000, n = 10, p = 0.5)
|
iter |
The number of iterations for the sample to run |
n |
The number of samples to take |
p |
The probability of success |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.