Gets the average empirical distribution

Share:

Description

Gets the average empirical distribution for a set of samples.

Usage

1
2
3
4
## S3 method for class 'list'
averageQuantile(X, ...)
## S3 method for class 'matrix'
averageQuantile(X, ...)

Arguments

X

A list with K numeric vectors, or a numeric NxK matrix. If a list, the vectors may be of different lengths.

...

Not used.

Value

Returns a numeric vector of length equal to the longest vector in argument X.

Missing values

Missing values are excluded.

Author(s)

Parts adopted from Gordon Smyth (http://www.statsci.org/) in 2002 \& 2006. Original code by Ben Bolstad at Statistics Department, University of California.

See Also

normalizeQuantileRank(). normalizeQuantileSpline(). quantile.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.