rcard: Random Generation from the Cardoid Distribution

Description Usage Arguments Details Value See Also

View source: R/circular.R

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 29, 2017, 8:28 p.m.

Related to rcard in CircStats...