Random Generation from the Cardoid Distribution
Generates pseudo-random numbers from a cardoid distribution.
rcard(n, mu, r)
number of random variables to generate.
mean direction of the distribution in radians.
concentration parameter of the distribution. The absolute value of r must be less than 0.5.
An acceptance/rejection method of simulation is employed.
Returns a vector of n independent random variables generated from a cardoid distribution.
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.