coef.modelStruct            package:nlme            R Documentation

_E_x_t_r_a_c_t _m_o_d_e_l_S_t_r_u_c_t _O_b_j_e_c_t _C_o_e_f_f_i_c_i_e_n_t_s

_D_e_s_c_r_i_p_t_i_o_n:

     This method function extracts the coefficients associated with
     each component of the 'modelStruct' list.

_U_s_a_g_e:

     ## S3 method for class 'modelStruct':
     coef(object, unconstrained, ...)
     ## S3 method for class 'modelStruct':
     coef(object, ...) <- value

_A_r_g_u_m_e_n_t_s:

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

unconstrained: a logical value. If 'TRUE' the coefficients are returned
          in unconstrained form (the same used in the optimization
          algorithm). If 'FALSE' the coefficients are returned in
          "natural", possibly constrained, form. Defaults to 'TRUE'.

   value: a vector with the replacement values for the coefficients
          associated with 'object'. It must be a vector with the same
          length of 'coef{object}' and must be given in unconstrained
          form.

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

_V_a_l_u_e:

     a vector with all coefficients corresponding to the components of
     'object'.

_S_I_D_E _E_F_F_E_C_T_S:

     On the left side of an assignment, sets the values of the
     coefficients of 'object' to 'value'. 'Object' must be initialized
     (using 'Initialize') before new values can be assigned to its
     coefficients.

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

     'Initialize'

_E_x_a_m_p_l_e_s:

     lms1 <- lmeStruct(reStruct = reStruct(pdDiag(diag(2), ~age)),
        corStruct = corAR1(0.3))
     coef(lms1)

