rwish                package:monomvn                R Documentation

_D_r_a_w _f_r_o_m _t_h_e _W_i_s_h_a_r_t _D_i_s_t_r_i_b_u_t_i_o_n

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

     Random generation from the Wishart distribution.

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

        rwish(v, S)

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

       v: degrees of freedom (scalar)

       S: inverse scale matrix (p x p)

_D_e_t_a_i_l_s:

     The mean of a Wishart random variable with 'v' degrees of freedom
     and inverse scale matrix 'S' is vS.

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

     Returns generates one random draw from the distribution which is a
     'matrix' with the same dimensions as 'S'

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

     This was copied from the 'MCMCpack' package

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

     draw <- rwish(3, matrix(c(1,.3,.3,1),2,2))

