Simulate from the hurdle continuous parameter binomial
Usage
rhurdle_cpb(n, lambda, alpha, p, support = c("ceiling", "floor"))Arguments
- n
Number of units.
- lambda
Intensity rate for participants (the CPB's
lambda); scalar or length-n.- alpha
CPB shape parameter in (0, 1).
- p
Participation probability; scalar or length-
n.- support
The CPB's support,
"ceiling"(King's CPB, the default) or"floor"; seecpb().