rowMinCpp {pedometrics} | R Documentation |
Return the minimum value in each row of a numeric matrix
Description
This function returns the minimum value in each row of a numeric matrix.
Usage
rowMinCpp(x)
Arguments
x |
Numeric matrix with two or more rows and/or columns. |
Details
This function is implemented in C++ to speed-up the computation time for large matrices.
Value
A numeric vector with the minimum value of each row if the matrix.
Author(s)
Alessandro Samuel-Rosa alessandrosamuelrosa@gmail.com
See Also
rowMins()
in https://cran.r-project.org/package=matrixStats.
Examples
x <- matrix(rnorm(20), nrow = 5)
rowMinCpp(x)
[Package pedometrics version 0.12.1 Index]