circ.summary: Circular Summary Statistics

Description Usage Arguments Details Value References See Also Examples

Description

Computes circular summary statistics including the sample size, mean direction and mean resultant length.

Usage

1

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

1
2
3
# Compute summary statistics of a random sample of observations. 
data <- runif(50, 0, pi)
circ.summary(data)

Example output

Loading required package: MASS
Loading required package: boot
   n mean.dir       rho
1 50 1.563155 0.5943966

CircStats documentation built on May 2, 2019, 2:24 a.m.