methods
for class glm
or
summary.glm
objects.# S3 method for glm
family(object, …)# S3 method for glm
residuals(object, type = c("deviance", "pearson", "working",
"response", "partial"), …)
glm
, typically the result of
a call to glm
."deviance"
(default), "pearson"
,
"working"
, "response"
, and "partial"
.
Can be abbreviated.residuals
treats cases with missing values in the original
fit is determined by the na.action
argument of that fit.
If na.action = na.omit
omitted cases will not appear in the
residuals, whereas if na.action = na.exclude
they will appear,
with residual value NA
. See also naresid
. For fits done with y = FALSE
the response values are computed
from other components.glm
for computing glm.obj
, anova.glm
;
the corresponding generic functions, summary.glm
,
coef
, deviance
,
df.residual
,
effects
, fitted
,
residuals
. influence.measures for deletion diagnostics, including
standardized (rstandard
)
and studentized (rstudent
) residuals.