circ.summary: Summary statistics for circular data

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/circ.summary.R

Description

It produces a few summary measures for circular data.

Usage

1
circ.summary(u, rads = FALSE, fast = FALSE, tol = 1e-09, 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@yahoo.gr> and Giorgos Athineou <athineou@csd.uoc.gr>

References

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

See Also

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

Examples

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

Directional documentation built on July 25, 2017, 5:01 p.m.