residuals.cmp: Extract COM-Poisson Model Residuals

Description Usage Arguments Value See Also

View source: R/summarize_extract.R

Description

residuals is a generic function which extracts model residuals from objects returned by the modelling function glm.comp. resid is an alias for residuals .

Usage

1
2
## S3 method for class 'cmp'
residuals(object, type = c("deviance", "pearson", "response"), ...)

Arguments

object

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

type

the type of residuals which should be returned. The alternatives are: 'deviance' (default), 'pearson' and 'response'. Can be abbreviated.

...

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

Value

Residuals extracted from the object object.

See Also

coef.cmp, fitted.cmp, glm.cmp


mpcmp documentation built on Oct. 26, 2020, 9:07 a.m.