residuals package:stats R Documentation _E_x_t_r_a_c_t _M_o_d_e_l _R_e_s_i_d_u_a_l_s _D_e_s_c_r_i_p_t_i_o_n: 'residuals' is a generic function which extracts model residuals from objects returned by modeling functions. The abbreviated form 'resid' is an alias for 'residuals'. 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 for 'residuals' and not 'resid'.) Methods can make use of 'naresid' methods to compensate for the omission of missing values. The default, 'nls' and 'smooth.spline' methods do. _U_s_a_g_e: residuals(object, ...) resid(object, ...) _A_r_g_u_m_e_n_t_s: object: an object for which the extraction of model residuals is meaningful. ...: other arguments. _V_a_l_u_e: Residuals extracted from the object 'object'. _R_e_f_e_r_e_n_c_e_s: Chambers, J. M. and Hastie, T. J. (1992) _Statistical Models in S_. Wadsworth & Brooks/Cole. _S_e_e _A_l_s_o: 'coefficients', 'fitted.values', 'glm', 'lm'. influence.measures for standardized ('rstandard') and studentized ('rstudent') residuals.