
Last chance! 50% off unlimited learning
Sale ends in
Computes circular summary statistics including the sample size, mean direction and mean resultant length.
circ.summary(x)
vector of data points measured in radians.
Returns a data frame with variables n, the sample size; mean.dir, the sample mean direction; and rho, the sample mean resultant length.
Each observation is treated as a unit vector or a point on the unit circle. The resultant vector of the observations is found, and the direction of the resultant vector is returned as well as its length divided by the sample size.
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 1.3, World Scientific Press, Singapore.
# NOT RUN {
# Compute summary statistics of a random sample of observations.
data <- runif(50, 0, pi)
circ.summary(data)
# }
Run the code above in your browser using DataLab