model.frame.izip: Extract the Model Frame from an iZIP Model Fit

Description Usage Arguments Value See Also Examples

View source: R/summarize_extract.R

Description

An accessor function used to extract the model frame from an 'izip' or a 'tsizip' object.

Usage

1
2
3
4
5
## S3 method for class 'izip'
model.frame(formula, ...)

## S3 method for class 'tsizip'
model.frame(formula, ...)

Arguments

formula

an object class 'izip' or 'tsizip' object, obtained from a call to glm.izip

...

other arguments passed to or from other methods (currently unused).

Value

The method will return the saved data.frame used when fitting the izip model.

See Also

coef.izip, residuals.izip, glm.izip, coef.tsizip, residuals.tsizip, tsglm.izip.

Examples

1
2
3
data(bioChemists)
M_bioChem <- glm.izip(art ~ ., data = bioChemists)
model.frame(M_bioChem)

thomas-fung/izipr documentation built on Dec. 23, 2021, 9:57 a.m.