Gets the range of values in each row (column) of a matrix.
rowRanges(x, rows = NULL, cols = NULL, na.rm = FALSE, dim. = dim(x),
...)rowMins(x, rows = NULL, cols = NULL, na.rm = FALSE, dim. = dim(x), ...)
rowMaxs(x, rows = NULL, cols = NULL, na.rm = FALSE, dim. = dim(x), ...)
colRanges(x, rows = NULL, cols = NULL, na.rm = FALSE, dim. = dim(x),
...)
colMins(x, rows = NULL, cols = NULL, na.rm = FALSE, dim. = dim(x), ...)
colMaxs(x, rows = NULL, cols = NULL, na.rm = FALSE, dim. = dim(x), ...)
Not used.
rowRanges() (colRanges()) returns a
numeric Nx2 (Kx2) matrix, where N
(K) is the number of rows (columns) for which the ranges are calculated.
rowMins()/rowMaxs() (colMins()/colMaxs()) returns a
numeric vector of length N (K).
rowOrderStats() and pmin.int().