rvdirichlet                package:rv                R Documentation

_G_e_n_e_r_a_t_e _R_a_n_d_o_m _V_a_r_i_a_b_l_e_s _f_r_o_m _a _D_i_r_i_c_h_l_e_t _S_a_m_p_l_i_n_g _M_o_d_e_l

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

     Generates random variables from a Dirichlet sampling model.

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

       rvdirichlet(n=1, alpha)

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

       n: integer: number of vectors to generate

   alpha: the parameter vector

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

     The Dirichlet distribution is a generalization of the Beta
     distribution. (If alpha is of length two, 'rvdirichlet' draws from
     the Beta model.)

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

     A random vector (rv object) of length 'n'.

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

     Jouni Kerman kerman@stat.columbia.edu <URL:
     http://www.stat.columbia.edu/~kerman>

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

     Kerman, Jouni and Gelman, Andrew. Manipulating and Summarizing
     Posterior Simulations Using Random Variable Objects. Technical
     report, Columbia University, New York.

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

       #

