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))

