residuals is a generic function which extracts model residuals from objects
returned by the modelling function glm.comp. resid is an alias for
residuals .
# S3 method for cmp
residuals(object, type = c("deviance", "pearson", "response"), ...)an object class 'cmp', obtained from a call to glm.cmp.
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).
Residuals extracted from the object object.