rgamma                package:FLCore                R Documentation

_M_e_t_h_o_d _r_g_a_m_m_a

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

     Random generation for the Gamma distribution with parameters
     'shape' and 'scale'.  'shape' can be of class 'FLQuantPoint' in
     which case 'shape' and 'scale' are set as mean^2 / var and var /
     mean^2.

_G_e_n_e_r_i_c _f_u_n_c_t_i_o_n:

     rgamma(n,shape,rate,scale)

_M_e_t_h_o_d_s:


      _s_i_g_n_a_t_u_r_e(_n=_n_u_m_e_r_i_c,_s_h_a_p_e=_F_L_Q_u_a_n_t_P_o_i_n_t,_r_a_t_e=_m_i_s_s_i_n_g,_s_c_a_l_e=_m_i_s_s_i_n_g) : 
          Returns an FLQuant for Gamma-distributed values.

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

     The FLR Team

_S_e_e _A_l_s_o:

     rgamma, FLQuantPoint-class

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

     flq <- FLQuant(rnorm(1000,mean=10,sd=2),dim=c(1,10,1,1,1,100))
     flqp <- FLQuantPoint(flq)
     rgamma(10,shape=flqp)

