Predict from a zero-inflated Poisson/NB fit
Arguments
- object
A
"zi_count"object.- newdata
Optional data frame of covariate profiles.
- type
"response"(marginal E(Y)),"count"(equivalently"intensity"; the count component's mean E(Y) of that component), or"zero"(structural-zero probability)."intensity"is accepted as a synonym for"count"for consistency withpredict.zi_cpb().- offset
Optional offset (log scale) for the count component when predicting on
newdata; a numeric vector or a column name innewdata.- ...
Unused.