mbinom | R Documentation |
Formula:
\mu = n \cdot p
\mathrm{Var}(X) = n \cdot p \cdot (1 - p)
mbinom(size, prob)
size |
Number of trials |
prob |
Probability of success |
List with mean and variance
dbinom
mbinom(size = 10, prob = 0.3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.