formula.reStruct            package:nlme            R Documentation

_E_x_t_r_a_c_t _r_e_S_t_r_u_c_t _O_b_j_e_c_t _F_o_r_m_u_l_a

_D_e_s_c_r_i_p_t_i_o_n:

     This method function extracts a formula from each of the 
     components of 'x', returning a list of formulas.

_U_s_a_g_e:

     ## S3 method for class 'reStruct':
     formula(x, asList, ...)

_A_r_g_u_m_e_n_t_s:

       x: an object inheriting from class 'reStruct', representing a
          random effects structure and consisting of a list of 'pdMat'
          objects.

  asList: logical.  Should the asList argument be applied to each of
          the components?

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

_V_a_l_u_e:

     a list with the formulas of each component of 'x'.

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

     'formula'

_E_x_a_m_p_l_e_s:

     rs1 <- reStruct(list(A = pdDiag(diag(2), ~age), B = ~1))
     formula(rs1)

