Skip to contents

Generate random numbers from a zero-altered Poisson distribution

Usage

rzapois(n, lambda, prob, tol = 2e-10)

Arguments

n

number of random values to return.

lambda

vector of (non-negative) means.

prob

the point mass of zero

tol

the tolerance for low numbers