nobs.izip: Extract the Number of Observation 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 number of observation from an 'izip' or a 'tsizip' object.

Usage

1
2
3
4
5
## S3 method for class 'izip'
nobs(object, ...)

## S3 method for class 'tsizip'
nobs(object, ...)

Arguments

object

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

...

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

Value

The number of observations extracted from the object object.

See Also

coef.izip, fitted.izip, glm.izip, coef.tsizip, fitted.tsizip, tsglm.izip

Examples

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

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