pdFactor                package:nlme                R Documentation

_S_q_u_a_r_e-_R_o_o_t _F_a_c_t_o_r _o_f _a _P_o_s_i_t_i_v_e-_D_e_f_i_n_i_t_e _M_a_t_r_i_x

_D_e_s_c_r_i_p_t_i_o_n:

     A square-root factor of the positive-definite matrix represented
     by 'object' is obtained. Letting S denote a positive-definite
     matrix, a square-root factor of S is any square matrix L such that
     S = L'L. This function extracts L.

_U_s_a_g_e:

     pdFactor(object)

_A_r_g_u_m_e_n_t_s:

  object: an object inheriting from class 'pdMat', representing a
          positive definite matrix, which must have been initialized
          (i.e. 'length(coef(object)) > 0').

_V_a_l_u_e:

     a vector with a square-root factor of the positive-definite matrix
     associated with 'object' stacked column-wise.

_N_o_t_e:

     This function is used intensively in optimization algorithms and
     its value is returned as a vector for efficiency reasons. The
     'pdMatrix' function can be used to obtain square-root factors in
     matrix form.

_A_u_t_h_o_r(_s):

     Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates
     bates@stat.wisc.edu

_R_e_f_e_r_e_n_c_e_s:

     Pinheiro, J.C., and Bates, D.M. (2000) "Mixed-Effects Models in S
     and S-PLUS", Springer.

_S_e_e _A_l_s_o:

     'pdMatrix'

_E_x_a_m_p_l_e_s:

     pd1 <- pdCompSymm(4 * diag(3) + 1)
     pdFactor(pd1)

