Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

circ.summary

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 = TRUE)

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

Examples

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

Directional

A Collection of R Functions for Directional Data Analysis

v4.9
GPL-2
Authors
Michail Tsagris, Giorgos Athineou, Anamul Sajib, Eli Amson, Micah J. Waldstein
Initial release
2021-03-26

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.