Learn R Programming

rcellminer (version 1.4.2)

getColumnQuantiles: Calculate quantile for the columns in a matrix

Description

Calculate quantile for the columns in a matrix

Usage

getColumnQuantiles(X, prob, naRm = FALSE, onlyNonzeroVals = FALSE)

Arguments

X
the matrix
prob
a numeric probablity
naRm
a boolean, whether to remove NAs
onlyNonzeroVals
a boolean, whether to only include non-zero values

Value

  • a vector of quantiles

concept

rcellminer

Examples

Run this code
getColumnQuantiles(matrix(1:25, nrow=5), prob = 0.5)

Run the code above in your browser using DataLab