Generates pseudo-random numbers from a von Mises distribution.
rvm(n, mean, k)
number of random variables to generate.
mean direction in radians of the von Mises distribution.
concentration parameter of the von Mises distribution.
Returns a vector of n independent random variables generated from a von Mises distribution. Values are between 0 and 2 pi.
Simulation from the von Mises distribution is done via the algorithm due to Best and Fisher (1979).
Best, D. and Fisher, N. (1979). Efficient simulation of the von Mises distribution. Applied Statistics, 24, 152-157.