rho.circular: Mean Resultant Length

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

Description

Returns the mean resultant length of a vector of circular data.

Usage

1
rho.circular(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

Each observation is treated as a unit vector, or point on the unit circle. The resultant vector of the observations is found, and the length of the resultant vector divided by the sample size is returned.

Value

Returns the mean resultant length of data.

Author(s)

Claudio Agostinelli and Ulric Lund

References

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

See Also

mean.circular, var.circular, summary.circular and mle.vonmises.

Examples

1
2
3
# Compute the mean resultant length of a random sample of observations.
data <- circular(runif(100, 0, 2*pi))
rho.circular(data)

Example output

Attaching package: 'circular'

The following objects are masked from 'package:stats':

    sd, var

[1] 0.1746222

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