Learn R Programming

biwavelet (version 0.20.22)

rcpp_row_quantile: Row-wise quantile of a matrix

Description

This is a C++ speed-optimized version. It is equivalent to R version quantile(data, q, na.rm = TRUE)

Usage

rcpp_row_quantile(data, q)

Value

A vector of length nrows(data), where each element represents row quantile.

Arguments

data

Numeric matrix whose row quantiles are wanted.

q

Probability with value in [0,1]

Author

Viliam Simko