Skip to contents

Generate random numbers from a zero-inflated Poisson distribution

Usage

rzipois(n, lambda, prob)

Arguments

n

number of random values to return.

lambda

vector of (non-negative) means.

prob

the mass of extra zero's