Summary statistics for circular data | R Documentation |
It produces a few summary measures for circular data.
circ.summary(u, rads = FALSE, fast = FALSE, tol = 1e-07, plot = FALSE)
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. |
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.
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. |
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr and Giorgos Athineou <gioathineou@gmail.com>.
Mardia, K. V. and Jupp, P. E. (2000). Directional statistics. Chicester: John Wiley & Sons.
spml.mle, rvonmises, vm.kde, vmf.mle, group.vm, hcf.circaov
x <- rvonmises(50, 2.5, 15, rads = TRUE)
circ.summary(x, rads = TRUE, plot = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.