Description Usage Arguments Value Examples
View source: R/getColumnQuantiles.R
Calculate quantile for the columns in a matrix
1 | getColumnQuantiles(X, prob, naRm = FALSE, onlyNonzeroVals = FALSE)
|
X |
the matrix |
prob |
a numeric probablity |
naRm |
a boolean, whether to remove NAs |
onlyNonzeroVals |
a boolean, whether to only include non-zero values |
a vector of quantiles
1 | getColumnQuantiles(matrix(1:25, nrow=5), prob = 0.5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.