zinb: Zero-inflated negative binomial distrbution

Description Usage Arguments See Also Examples

Description

Density and random generation for the zero-inflated negative binomial distribution.

Usage

1
2
3
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

1
rZINB(15, 1.9, 0.9, 0.8)

countfitteR documentation built on Oct. 23, 2020, 5:11 p.m.