myBin | R Documentation |
This function will create a binomial simulation. This function was provided by Dr. Stewart for use within the Applied Statistical Methods course taught at OU.
myBin(iter = 100, n = 10, p = 0.5)
iter |
integer number of iterations |
n |
integer sample size |
p |
decimal probability for a success |
myBin(1000,1,0.5) myBin(1000,10,0.7)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.