The function quantile produces quantiles corresponding to the given
probabilities. The smallest observation corresponds to a probability of 0 and the largest to a probability of 1.
Current implementation doesn't use the type
parameter of quantile
. For large ff
vectors the
difference between the types is (very) small. If x
has been ffordered
, quantile is fast, otherwise it is $n log(n)$.
1 2 |
x |
|
probs |
numeric vector of probabilities with values in [0,1]. |
na.rm |
logical; if true, any NA and NaN's are removed from x before the quantiles are computed. |
names |
logical; if true, the result has a names attribute. Set to FALSE for speedup with many probs. |
... |
currently not used |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.