Zero-inflated Poisson Quantile Function

qzip(p, lambda, pi, lower.tail = TRUE, log.p = FALSE)

Arguments

p

vector of quantiles.

lambda

vector of (non-negative) means.

pi

vector of (in \([0, 1]\)) zero-inflation parameters.

lower.tail

logical; if TRUE (default), probabilities are \(P[X <= x]\), otherwise, \(P[X > x]\).

log.p

logical; if TRUE, probabilities p. This doesn't affect pi.

Value

A vector of quantiles, each of which coincide with the respective probability in p.