mnbinom | R Documentation |
Formula:
\mu = r \cdot \frac{1 - p}{p}
\mathrm{Var}(X) = r \cdot \frac{1 - p}{p^2}
mnbinom(size, prob)
size |
Number of successes |
prob |
Probability of success |
List with mean and variance
dnbinom
mnbinom(size = 5, prob = 0.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.