

   EExxttrraacctt MMooddeell RReessiidduuaallss

        residuals(x, ...)
        resid(x, ...)

   AArrgguummeennttss::

          x: an object for which the extraction of model resid-
             uals is meaningful.

        ...: other arguments.

   DDeessccrriippttiioonn::

        `residuals' is a generic function which extracts model
        residuals from objects returned by modeling functions.

        The abbreviated form `resid' is an alias for `residu-
        als'.  It is intended to encourage users to access
        object components through an accessor function rather
        than by directly referencing an object slot.

        All object classes which are returned by model fitting
        functions should provide a `residuals' method.  (Note
        that the method is `residuals' and not `resid'.)

   VVaalluuee::

        Residuals extracted from the object `x'.

   SSeeee AAllssoo::

        `coefficients', `fitted.values', `glm', `lm'.

