fitted.lmList              package:nlme              R Documentation

_E_x_t_r_a_c_t _l_m_L_i_s_t _F_i_t_t_e_d _V_a_l_u_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     The fitted values are extracted from each 'lm' component of
     'object' and arranged into a list with as many components as
     'object', or combined into a single vector.

_U_s_a_g_e:

     ## S3 method for class 'lmList':
     fitted(object, subset, asList, ...)

_A_r_g_u_m_e_n_t_s:

  object: an object inheriting from class 'lmList', representing a list
          of 'lm' objects with a common model. 

  subset: an optional character or integer vector naming the 'lm'
          components of 'object' from which the fitted values are to be
          extracted. Default is 'NULL', in which case all components
          are used. 

  asList: an optional logical value. If 'TRUE', the returned object is
          a list with the fitted values split by groups; else the
          returned value is a vector. Defaults to 'FALSE'. 

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

_V_a_l_u_e:

     a list with components given by the fitted values of each 'lm'
     component of 'object', or a vector with the fitted values for all
     'lm' components of 'object'.

_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:

     'lmList', 'residuals.lmList'

_E_x_a_m_p_l_e_s:

     fm1 <- lmList(distance ~ age | Subject, Orthodont)
     fitted(fm1)

