Random Generation from the Cardoid Distribution
Generates pseudo-random numbers from a cardoid distribution.
rcard(n, mu, r)
n |
number of random variables to generate. |
mu |
mean direction of the distribution in radians. |
r |
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.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.