circ.summary: Summary statistics for circular data

View source: R/circ.summary.R

Summary statistics for circular dataR Documentation

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)

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.

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.

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.

Author(s)

Michail Tsagris

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

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

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

Directional documentation built on Sept. 22, 2022, 9:06 a.m.