Description Usage Arguments Details Types Author(s) Examples
The function quantile.circular
produces sample circular quantiles
corresponding to the given probabilities for a circular data set.
1 2 |
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.
NA
and NaN
values in probs
are
propagated to the result.
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.
1 2 | x <- rvonmises(1001, mu=circular(pi), kappa=5)
quantile.circular(x) # Extremes & Quartiles by default
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.