Standard deviation estimates for each row (column) in a matrix.
rowMads(x, rows = NULL, cols = NULL, center = NULL, constant = 1.4826,
na.rm = FALSE, dim. = dim(x), ...)colMads(x, rows = NULL, cols = NULL, center = NULL, constant = 1.4826,
na.rm = FALSE, dim. = dim(x), ...)
rowSds(x, rows = NULL, cols = NULL, na.rm = FALSE, center = NULL,
dim. = dim(x), ...)
colSds(x, rows = NULL, cols = NULL, na.rm = FALSE, center = NULL,
dim. = dim(x), ...)
(optional) The center, defaults to the row means for the SD estimators and row medians for the MAD estimators.
A scale factor. See mad
for details.
Additional arguments passed to rowMeans()
and
rowSums()
.