circ.mean: Mean Direction

Description Usage Arguments Details Value References See Also Examples

Description

Returns the mean direction of a vector of circular data.

Usage

1

Arguments

x

vector of data points measured in radians.

Details

Each observation is treated as a unit vector, or point on the unit circle. The resultant vector of the observations is found, and the direction of the resultant vector is returned.

Value

Returns the mean direction of the data.

References

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

See Also

circ.disp, circ.summary, est.kappa, est.rho.

Examples

1
2
3
# Compute the mean direction of a random sample of observations.
data <- runif(50, 0, pi)
mean.dir <- circ.mean(data)

Example output

Loading required package: MASS
Loading required package: boot

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