| rcard | R Documentation | 
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.
dcard
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.