zim: Fitting Zero-Inflated Models

Description Usage Arguments Note See Also

View source: R/zim.R

Description

zim is used to fit zero-inflated models.

Usage

1
2

Arguments

formula

an objective of class "formula".

data

an optional dataframe, list or environment containing the variables in the model.

subset

an optional vector specifying a subset of observations to be used in the fitting process.

na.action

a function which indicates what should happen when the data contain NAs.

weights

an optional vector of 'prior weights' to be used in the fitting process.

offset

this can be used to specify a priori known component to be included in the linear predictor during fitting.

control

control arguments.

...

additional arguments.

Note

zim is very similar to zeroinfl from the pscl package. Both functions can be used to fit observation-driven models for zero-inflated time series.

See Also

zim.fit, zim.control


ZIM documentation built on May 2, 2019, 7:01 a.m.