Matrix.reStruct             package:nlme             R Documentation

_A_s_s_i_g_n _r_e_S_t_r_u_c_t _M_a_t_r_i_c_e_s

_D_e_s_c_r_i_p_t_i_o_n:

     The individual matrices in 'value' are assigned to each 'pdMat'
     component of 'object', in the order they are listed. The new
     matrices must have the same dimensions as the matrices they are
     meant to replace.

_U_s_a_g_e:

     ## S3 method for class 'reStruct':
     matrix(object) <-  value

_A_r_g_u_m_e_n_t_s:

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

   value: a matrix, or list of matrices, with the new values to be
          assigned to the matrices associated with the 'pdMat'
          components of 'object'.

_V_a_l_u_e:

     an 'reStruct' object similar to 'object', but with the
     coefficients of the individual 'pdMat' components modified to
     produce the matrices listed in 'value'.

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

     'reStruct', 'pdMat'

_E_x_a_m_p_l_e_s:

     rs1 <- reStruct(list(Dog = ~day, Side = ~1), data = Pixel)
     matrix(rs1) <- list(diag(2), 3)

