rvm: Random Generation from the von Mises Distribution

Description Usage Arguments Details Value References See Also

Description

Generates pseudo-random numbers from a von Mises distribution.

Usage

1
rvm(n, mean, k)

Arguments

n

number of random variables to generate.

mean

mean direction in radians of the von Mises distribution.

k

concentration parameter of the von Mises distribution.

Details

Simulation from the von Mises distribution is done via the algorithm due to Best and Fisher (1979).

Value

Returns a vector of n independent random variables generated from a von Mises distribution. Values are between 0 and 2 pi.

References

Best, D. and Fisher, N. (1979). Efficient simulation of the von Mises distribution. Applied Statistics, 24, 152-157.

See Also

dmixedvm, dvm, pvm, rmixedvm


CircStats documentation built on May 2, 2019, 2:24 a.m.

Related to rvm in CircStats...