Learn R Programming

countfitteR (version 1.4)

zip: 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

Run this code
# NOT RUN {
rZIP(15, 1.9, 0.9)
# }

Run the code above in your browser using DataLab