R/zeroinflated_poisson.R
rzapois.Rd
Generate random numbers from a zero-altered Poisson distribution
rzapois(n, lambda, prob, tol = 2e-10)
number of random values to return.
vector of (non-negative) means.
the point mass of zero
the tolerance for low numbers