View source: R/zeroinflated_nbinomial.R
rzinbinom | R Documentation |
Zero inflated negative binomial
rzinbinom(n, mu, size, prob)
n |
number of random values to return. |
mu |
alternative parametrization via mean: see ‘Details’. |
size |
target for number of successful trials, or dispersion parameter (the shape parameter of the gamma mixing distribution). Must be strictly positive, need not be integer. |
prob |
the mass of extra zero's |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.