Learn R Programming

Directional (version 7.0)

Summary statistics for circular data: Summary statistics for circular data

Description

It produces a few summary measures for circular data.

Usage

circ.summary(u, rads = FALSE, fast = FALSE, tol = 1e-07, plot = FALSE)

Value

If fast = FALSE a list including all the following. If fast = TRUE less items are returned.

mesos

The circular mean direction.

confint

The 95% confidence interval for the circular mean direction.

kappa

The concentration parameter.

MRL

The mean resultant length.

circvariance

The circular variance.

circstd

The circular standard deviation.

loglik

The log-likelihood of the fitted von Mises distribution.

Arguments

u

A vector with circular data.

rads

If the data are in rads, then this should be TRUE, otherwise FALSE.

fast

A boolean variable to do a faster implementation.

tol

The tolerance level to stop the Newton-Raphson algorithm for finding kappa.

plot

If you want to see the data plotted on a cicrle make this TRUE.

Author

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr and Giorgos Athineou <gioathineou@gmail.com>.

Details

It returns the circular mean, mean resultant length, variance, standard deviation and concentration parameter. So, basically it returns the estimated values of the parameters of the von Mises distribution.

References

Mardia, K. V. and Jupp, P. E. (2000). Directional statistics. Chicester: John Wiley & Sons.

See Also

spml.mle, rvonmises, vm.kde, vmf.mle, group.vm, hcf.circaov

Examples

Run this code
x <- rvonmises(50, 2.5, 15, rads = TRUE)
circ.summary(x, rads = TRUE, plot = TRUE)

Run the code above in your browser using DataLab