Learn R Programming

ziphsmm (version 2.0.6)

rzip: generate zero-inflated poisson random variables

Description

generate zero-inflated poisson random variables

Usage

rzip(n, p, theta)

Arguments

n

length of the random series

p

proportion of structural zero's

theta

the poisson mean

Value

a series of zero-inflated poisson random variables