bino.gen | R Documentation |
Function that generates and displays m repeated samples of n Bernoulli trials with a given probability of success.
bino.gen(samples, n, pi)
samples |
number of repeated samples to generate |
n |
number of Bernoulli trials |
pi |
probability of success for Bernoulli trial |
simulated.distribution |
Simulated binomial distribution |
theoretical.distribution |
Theoretical binomial distribution |
Alan T. Arnholt
bino.gen(1000, 20, 0.75)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.