rlnorm                package:FLCore                R Documentation

_M_e_t_h_o_d _r_l_n_o_r_m

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

     Random generation for the log normal distribution whose logarithm
     has mean equal to _meanlog_ and standard deviation equal to
     _sdlog_.  _meanlog_ and _sdlog_ can be given as FLQuant objects. 
     If both are given as FLQuant objects their dimensions must be the
     same.  If either of these arguments are FLQuant objects, rlnorm
     returns an FLQuant.

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

     rlnorm(n,meanlog,sdlog)

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


      _s_i_g_n_a_t_u_r_e(_n=_n_u_m_e_r_i_c,_m_e_a_n_l_o_g=_F_L_Q_u_a_n_t,_s_d_l_o_g=_F_L_Q_u_a_n_t) : Generates
          random deviates for the log normal distribution.  FLQuant
          arguments must have the same dimension.  Returns an FLQuant
          object.

      _s_i_g_n_a_t_u_r_e(_n=_n_u_m_e_r_i_c,_m_e_a_n_l_o_g=_F_L_Q_u_a_n_t,_s_d_l_o_g=_n_u_m_e_r_i_c) : Generates
          random deviates for the log normal distribution.  Returns an
          FLQuant object.

      _s_i_g_n_a_t_u_r_e(_n=_n_u_m_e_r_i_c,_m_e_a_n_l_o_g=_n_u_m_e_r_i_c,_s_d_l_o_g=_F_L_Q_u_a_n_t) : Generates
          random deviates for the log normal distribution.  Returns an
          FLQuant object.

      _s_i_g_n_a_t_u_r_e(_n=_n_u_m_e_r_i_c,_m_e_a_n_l_o_g=_F_L_Q_u_a_n_t_P_o_i_n_t,_s_d_l_o_g=_m_i_s_s_i_n_g) : 
          Generates random deviates for the log normal distribution. 
          Returns an FLQuant object.

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

     The FLR Team

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

     rlnorm, FLQuant-class, FLQuantPoint-class

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

     out <- rlnorm(1000, meanlog=FLQuant(c(5,5,5,5,5)),sdlog=FLQuant(c(0,1,2,3,4)))
     apply(log(out),2,sd)
     apply(log(out),2,mean)

