zip {countfitteR}R Documentation

Zero-inflated Poisson distrbution

Description

Density and random generation for the zero inflated Poisson distribution.

Usage

dZIP(x, lambda, r)

rZIP(n, lambda, r)

Arguments

x

vector of (non-negative integer) quantiles.

lambda

vector of (non-negative) means.

r

probability of excess zeros.

n

number of random values to return.

See Also

Poisson distribution: Poisson.

Examples

rZIP(15, 1.9, 0.9)

[Package countfitteR version 1.4 Index]