Skip to contents

Zero inflated negative binomial

Usage

rzinbinom(n, mu, size, prob)

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 mass of extra zero's