Simulate from the zero-inflated continuous parameter binomial
Usage
rzicpb(n, lambda, alpha, pi, support = c("ceiling", "floor"))Arguments
- n
Number of units.
- lambda
Intensity rate (the CPB's
lambda); scalar or length-n.- alpha
CPB shape parameter in (0, 1).
- pi
Structural-zero probability; scalar or length-
n.- support
The CPB's support,
"ceiling"(King's CPB, the default) or"floor"; seecpb().