rzipois: Draw samples from a zero-inflated poisson distribution
Description
Draw samples from a zero-inflated poisson distribution
Usage
rzipois(n, lambda, pstr0 = 0)
Arguments
n
the number of samples to draw
lambda
The poisson rate parameter
pstr0
probability of drawing a zero
Value
Poisson counts of length \(n\)