checkpd                package:hapsim                R Documentation

_C_h_e_c_k_s _t_h_a_t _a _c_o_v_a_r_i_a_n_c_e _m_a_t_r_i_x _i_s _p_o_s_i_t_i_v_e _d_e_f_i_n_i_t_e

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

     Checks that a matrix is positive definite

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

     checkpd(sigma, tol = 1e-06)

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

   sigma: Covariance matrix

     tol: Tolerance value

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

     If TRUE, the input matrix is positive definite.

