residuals is a generic function which extracts model residuals from objects returned by modeling functions.
All object classes which are returned by model fitting functions should provide a
residuals method. (Note that the method is for residuals and not resid.)
residuals(object, ...) resid(object, ...)
- an object for which the extraction of model residuals is meaningful.
- other arguments.
Residuals extracted from the object
Chambers, J. M. and Hastie, T. J. (1992) Statistical Models in S. Wadsworth & Brooks/Cole.
Documentation reproduced from R 3.0.2. License: GPL-2.