meandeviation: A measure of deviation for Circular Data

meandeviationR Documentation

A measure of deviation for Circular Data

Description

Returns a measure of spread associated with the circular median of a vector of circular data.

Usage

meandeviation(x, na.rm = FALSE)

Arguments

x

a vector. The object is coerced to class circular.

na.rm

logical, indicating if NA's should be omitted.

Details

See equation (2.33) at pag. 36 in Fisher (1993) for its definition. In the case the circular median is not defined, that is, every angle is a median axis, the mean deviation is not reported and set to NA.

Value

Returns a measure of spread associated with the circular median of a vector of circular data.

Author(s)

Claudio Agostinelli and Alessandro Gagliardi

References

N.I. Fisher (1993) Statistical Analysis of Circular Data, Cambridge University Press.

See Also

median.circular, sd.circular, angular.variance, angular.deviation, mean.circular, rho.circular and summary.circular.

Examples

x <- rvonmises(n=100, mu=circular(0), kappa=1)
meandeviation(x)

circular documentation built on Sept. 11, 2024, 8:21 p.m.