Learn R Programming

mpcmp (version 0.3.6)

nobs.cmp: Extract the Number of Observation from a COM-Poisson Model Fit

Description

An accessor function used to extract the number of observation from a 'cmp' object.

Usage

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

Arguments

object

an object class 'cmp' object, obtained from a call to glm.cmp

...

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

Value

The number of observations extracted from the object object.

See Also

coef.cmp, fitted.cmp, glm.cmp