R/zeroinflated_poisson.R
rzipois.Rd
Generate random numbers from a zero-inflated Poisson distribution
rzipois(n, lambda, prob)
number of random values to return.
vector of (non-negative) means.
the mass of extra zero's