Learn R Programming

circular (version 0.3-1)

Cardioid: Cardioid Density Function

Description

Density and random generation for the Cardioid circular distribution.

Usage

dcardioid(x, mu = 0, rho = 0)
rcardioid(n, mu = 0, rho = 0, units = c("radians", "degrees"), ...)

Arguments

x
a vector. The object is coerced to class circular.
n
number of observations.
mu
mean direction of the distribution (in the same 'units' of 'x').
rho
concentration parameter of the distribution. Absolute value of rho must be less than 0.5.
units
units of measure desired.
...
parameters passed to circular.

Value

  • dcardioid gives the density and rcardioid generates random deviates.

References

Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 2.2.2, World Scientific Press, Singapore.