pdDiag-class              package:lme4              R Documentation

_C_l_a_s_s "_p_d_D_i_a_g"

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

     A class of parameterized diagonal positive-definite matrices.

_O_b_j_e_c_t_s _f_r_o_m _t_h_e _C_l_a_s_s:

     Objects can be created by calls of the form `new("pdDiag", ...)'
     or by calls to the constructor function `pdDiag'.

_S_l_o_t_s:

     `_f_o_r_m': Object of class `"formula", from class "pdMat"' an
          optional formula used to generate the object.

     `_N_a_m_e_s': Object of class `"character", from class "pdMat"' row
          (and column) names for the matrix.

     `_p_a_r_a_m': Object of class `"numeric", from class "pdMat"' the
          unconstrained, numeric parameter vector of length `Ncol'. 
          The elements of the parameter vector are the logarithms of
          the square roots of the diagonal elements of the matrix. 

     `_N_c_o_l': Object of class `"integer", from class "pdMat"' the number
          of rows and columns in the matrix. 

     `_f_a_c_t_o_r': Object of class `"matrix", from class "pdMat"' a
          square-root factor of the matrix - also a diagonal matrix.

     `_l_o_g_D_e_t': Object of class `"numeric", from class "pdMat"' the
          logarithm of the absolute value of the determinant of the
          factor.

_E_x_t_e_n_d_s:

     Class `"pdMat"', directly.

_M_e_t_h_o_d_s:

     _c_o_e_f `signature(x = "pdDiag")': extract the parameters.

     _c_o_e_f<- `signature(object = "pdDiag", value = "numeric")': assign
          the parameters.

     _c_o_e_r_c_e `signature(from = "pdDiag", to = "matrix")': extract the
          matrix.

     _c_o_r_M_a_t_r_i_x `signature(object = "pdDiag")': extract the correlation
          matrix. 

     _d_i_m `signature(x = "pdDiag")': extract the dimensions.

     _i_s_I_n_i_t_i_a_l_i_z_e_d `signature(object = "pdDiag")': check if
          initialized.

     _l_o_g_D_e_t `signature(object = "pdDiag", covariate = "missing")':
          return the logarithm of the determinant of the matrix.

     _s_o_l_v_e `signature(a = "pdDiag", b = "missing")': invert the matrix
          returning a `pdDiag' object.

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

     `pdMat-class'

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

