rvgamma                  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 _G_a_m_m_a _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 Gamma sampling model.

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

       rvgamma(n=1, shape, rate = 1, scale = 1/rate)

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

       n: integer: number of variables to generate

   shape: shape parameter, may be a rv

    rate: rate parameter, may be a rv

   scale: inverse of rate, may be specified optionally instead of rate

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

     'rvgamma'

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

     A random vector (rv object).

_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:

       #

