zinb {countfitteR} | R Documentation |
Zero-inflated negative binomial distrbution
Description
Density and random generation for the zero-inflated negative binomial distribution.
Usage
rZINB(n, size, mu, r)
dZINB(x, size, mu, r)
Arguments
n |
number of random values to return. |
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.. |
mu |
mean. |
r |
probability of excess zeros. |
x |
vector of (non-negative integer) quantiles. |
See Also
Negative binomial distribution: NegBinomial
.
Examples
rZINB(15, 1.9, 0.9, 0.8)
[Package countfitteR version 1.4 Index]