getData.gls               package:nlme               R Documentation

_E_x_t_r_a_c_t _g_l_s _O_b_j_e_c_t _D_a_t_a

_D_e_s_c_r_i_p_t_i_o_n:

     If present in the calling sequence used to produce 'object', the
     data frame used to fit the model is obtained.

_U_s_a_g_e:

     ## S3 method for class 'gls':
     getData(object)

_A_r_g_u_m_e_n_t_s:

  object: an object inheriting from class 'gls', representing a
          generalized least squares fitted linear model.

_V_a_l_u_e:

     if a 'data' argument is present in the calling sequence that
     produced 'object', the corresponding data frame (with 'na.action'
     and 'subset' applied to it, if also present in the call that
     produced 'object') is returned; else, 'NULL' is returned.

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

_E_x_a_m_p_l_e_s:

     data(Ovary)
     fm1 <- gls(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), data = Ovary,
                correlation = corAR1(form = ~ 1 | Mare))
     getData(fm1)

