powered by
This function returns the minimum value in each row of a numeric matrix.
rowMinCpp(x)
Numeric matrix with two or more rows and/or columns.
A numeric vector with the minimum value of each row if the matrix.
This function is implemented in C++ to speed-up the computation time for large matrices.
rowMins() in https://cran.r-project.org/package=matrixStats.
rowMins()
# NOT RUN { x <- matrix(rnorm(20), nrow = 5) rowMinCpp(x) # }
Run the code above in your browser using DataLab