An accessor function used to extract the number of observation from an 'izip' or a 'tsizip' object.

# S3 method for izip
nobs(object, ...)

# S3 method for 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

Examples

data(bioChemists) M_bioChem <- glm.izip(art ~ ., data = bioChemists) nobs(M_bioChem)
#> [1] 915