Zero altered negative binomial
Arguments
- 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 point mass of zero
- tol
the tolerance for low numbers