rnorm                 package:FLCore                 R Documentation

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

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

     Generates random numbers following a normal distribution. _mean_
     and  _sd_ can be specified as objects of class 'FLQuant-class', of
     the same  dimensions, but any of the two could be given as a
     numeric. In this case the value will  be reused accordingly.

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

     rnorm(n, mean, sd)

_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=_F_L_Q_u_a_n_t,_s_d=_F_L_Q_u_a_n_t) : 'n' is the number
          of iterations of the return object. 'mean' and 'sd' are
          FLQuant objects and must be of equal size.  When both 'sd'
          and 'mean' are specified the returned object is an FLQuant
          object with 'n' iterations, filled with randomly generated
          numbers.  When only 1 of 'mean' or 'sd' is supplied the
          return object is a vector of length 'n'.

      _s_i_g_n_a_t_u_r_e(_n=_n_u_m_e_r_i_c,_m_e_a_n=_n_u_m_e_r_i_c,_s_d=_F_L_Q_u_a_n_t) : same as above, but
          dimensions will be given by sd, and mean will be reused
          accordingly.

      _s_i_g_n_a_t_u_r_e(_n=_n_u_m_e_r_i_c,_m_e_a_n=_F_L_Q_u_a_n_t,_s_d=_n_u_m_e_r_i_c) : same as above, but
          instead  dimensions will be given by mean, and sd will be
          reused accordingly.

      _s_i_g_n_a_t_u_r_e(_n=_n_u_m_e_r_i_c,_m_e_a_n=_F_L_Q_u_a_n_t_P_o_i_n_t,_s_d=_m_i_s_s_i_n_g) : uses an
          FLQuantPoint to obtain mean and sd from the mean and var
          iterations.

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

     The FLR Team

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

     rnorm, FLQuant-class, FLQuantPoint-class

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

        data(ple4)
        rnorm(10,mean=harvest(ple4)[,"2001"], sd=harvest(ple4)[,"2001"])

