Skip to contents

Zero altered negative binomial

Usage

rzanbinom(n, mu, size, prob, tol = 2e-10)

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