bdGlm Object
bdGlm objects.
This function requires the bigdata library section to be loaded.
residuals.bdGlm(object, type)This is a method for the function
residuals
for objects inheriting from class
"bdGlm".
However, as several types of residuals are available
for
bdGlm objects,
there is an additional optional argument
type.
"bdGlm"
representing a fitted model.
"deviance",
"pearson",
"working"
or
"response";
the first is the default.
y-fitted(object)
.
The
residuals component of
a
bdGlm object contains the working residuals.
Chambers, J. M., and Hastie, T. J. (1991). Statistical Models in S, pp. 204--206.
bigKyph <- as.bdFrame(kyphosis) kyph.bdGlm <- glm(Kyphosis ~ ., binomial, data=bigKyph) residuals(kyph.bdGlm, type='response')