rcard: Random Generation from the Cardoid Distribution

Description Usage Arguments Details Value See Also

Description

Generates pseudo-random numbers from a cardoid distribution.

Usage

1
rcard(n, mu, r)

Arguments

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.

Details

An acceptance/rejection method of simulation is employed.

Value

Returns a vector of n independent random variables generated from a cardoid distribution.

See Also

dcard


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

Related to rcard in CircStats...