Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

quantile.ff

quantiles


Description

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)$.

Usage

## S3 method for class 'ff'
quantile(x, probs = seq(0, 1, 0.25), na.rm = FALSE, names = TRUE, ...)

Arguments

x

ff vector

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


ffbase

Basic Statistical Functions for Package 'ff'

v0.13.3
GPL-3
Authors
Edwin de Jonge, Jan Wijffels, Jan van der Laan
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.