rwrpnorm              package:CircStats              R Documentation

_R_a_n_d_o_m _G_e_n_e_r_a_t_i_o_n _f_r_o_m _t_h_e _W_r_a_p_p_e_d _N_o_r_m_a_l _D_i_s_t_r_i_b_u_t_i_o_n

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

     Generates pseudo-random numbers from a wrapped normal
     distribution.

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

     rwrpnorm(n, mu, rho, sd=1)

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

       n: number of random variables to generate.

      mu: mean direction in radians of the wrapped normal distribution.

     rho: concentration parameter.  rho must be between 0 and 1.

      sd: different way of select 'rho', see details below.

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

     n random variables are generated from a normal distribution with
     mean direction mu, and variance -2*log(rho).  The function returns
     these values modulo 2*pi. You can set 'rho' by using 'sd' with the
     following equivalence:

                        rho = exp{- sigma^2/2}

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

     Returns a vector of n independent random variables generated from
     a wrapped normal distribution.

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

     Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular
     Statistics, Section 2.2.5, World Scientific Press, Singapore.

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

     dwrpnorm

