rowQuantiles {matrixStats}R Documentation

Estimates quantiles for each row (column) in a matrix

Description

Estimates quantiles for each row (column) in a matrix.

Usage

 rowQuantiles(x, probs=seq(from=0, to=1, by=0.25), ..., drop=TRUE)
 colQuantiles(x, ...)

Arguments

x A numeric NxK matrix.
probs A numeric vector of J probabilities in [0,1].
... Additional arguments passed to quantile.
drop If TRUE, singleton dimensions in the result are dropped, otherwise not.

Value

Returns a numeric NxJ (JxK) matrix.

Author(s)

Henrik Bengtsson (http://www.braju.com/R/)

See Also

quantile.


[Package matrixStats version 0.1.6 Index]