circ.summary {CircStats} | R Documentation |
Circular Summary Statistics
Description
Computes circular summary statistics including the sample size, mean direction and mean resultant length.
Usage
circ.summary(x)
Arguments
x |
vector of data points measured in radians. |
Details
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.
Value
Returns a data frame with variables n, the sample size; mean.dir, the sample mean direction; and rho, the sample mean resultant length.
References
Jammalamadaka, S. Rao and SenGupta, A. (2001). Topics in Circular Statistics, Section 1.3, World Scientific Press, Singapore.
See Also
circ.mean, circ.disp, est.kappa, est.rho.
Examples
# Compute summary statistics of a random sample of observations.
data <- runif(50, 0, pi)
circ.summary(data)
[Package CircStats version 0.2-6 Index]