residuals.glsStruct           package:nlme           R Documentation

_C_a_l_c_u_l_a_t_e _g_l_s_S_t_r_u_c_t _R_e_s_i_d_u_a_l_s

_D_e_s_c_r_i_p_t_i_o_n:

     The residuals for the linear model represented by 'object' are
     extracted.

_U_s_a_g_e:

     ## S3 method for class 'glsStruct':
     residuals(object, glsFit, ...)

_A_r_g_u_m_e_n_t_s:

  object: an object inheriting from class 'glsStruct', representing a
          list of linear model components, such as 'corStruct' and
          'varFunc' objects.

  glsFit: an optional list with components 'logLik'   
          (log-likelihood), 'beta' (coefficients), 'sigma' (standard
          deviation for error term), 'varBeta' (coefficients'
          covariance matrix), 'fitted' (fitted values), and 'residuals'
          (residuals). Defaults to 'attr(object, "glsFit")'.

     ...: some methods for this generic require additional arguments. 
          None are used in this method.

_V_a_l_u_e:

     a vector with the residuals for the linear model represented by
     'object'.

_N_o_t_e:

     This method function is primarily used inside 'gls' and 
     'residuals.gls'.

_A_u_t_h_o_r(_s):

     Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates
     bates@stat.wisc.edu

_S_e_e _A_l_s_o:

     'gls', 'residuals.gls', 'fitted.glsStruct'

