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)$.
# S3 method for ff
quantile(x, probs = seq(0, 1, 0.25), na.rm = FALSE, names = TRUE, ...)
ff
vector
numeric vector of probabilities with values in [0,1].
logical; if true, any NA and NaN's are removed from x before the quantiles are computed.
logical; if true, the result has a names attribute. Set to FALSE for speedup with many probs.
currently not used