Sample Circular Quantiles
The function quantile.circular produces sample circular quantiles
corresponding to the given probabilities for a circular data set.
## S3 method for class 'circular' quantile(x, probs = seq(0, 1, 0.25), na.rm=FALSE, names = TRUE, type = 7, ...)
x |
numeric circular vector whose sample quantiles are wanted. |
probs |
numeric vector of probabilities with values in [0,1]. (Values up to 2e-14 outside that range are accepted and moved to the nearby endpoint.) |
na.rm |
logical; if true, any |
names |
logical; if true, the result has a |
type |
an integer between 1 and 9 selecting one of the nine quantile algorithms detailed below to be used. |
... |
further arguments passed to or from other methods.
Like |
A vector of length length(probs) is returned;
if names = TRUE, it has a names attribute.
The algorithm will proceed how described below: 1) Linearize the circular observations. 2) Calulate the linear median like type establish. 3) The value it will transformed in circular.
See description on documentation of quantile.
Claudio Agostinelli and Alessandro Gagliardi.
x <- rvonmises(1001, mu=circular(pi), kappa=5) quantile.circular(x) # Extremes & Quartiles by default
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.