meandeviation: A measure of deviation for Circular Data

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

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

Usage

1
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

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

circular documentation built on May 2, 2019, 4:42 p.m.