rho.circular | R Documentation |
Returns the mean resultant length of a vector of circular data.
rho.circular(x, na.rm = FALSE)
x |
a vector. The object is coerced to class
|
na.rm |
logical, indicating if |
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.
Returns the mean resultant length of data.
Claudio Agostinelli and Ulric Lund
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 1.3, World Scientific Press, Singapore.
mean.circular
, var.circular
,
summary.circular
and mle.vonmises
.
# Compute the mean resultant length of a random sample of observations.
data <- circular(runif(100, 0, 2*pi))
rho.circular(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.