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), ..., useNames = NA)colMads(x, rows = NULL, cols = NULL, center = NULL, constant = 1.4826,
na.rm = FALSE, dim. = dim(x), ..., useNames = NA)
rowSds(x, rows = NULL, cols = NULL, na.rm = FALSE, center = NULL,
dim. = dim(x), ..., useNames = NA)
colSds(x, rows = NULL, cols = NULL, na.rm = FALSE, center = NULL,
dim. = dim(x), ..., useNames = NA)
(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.
If TRUE
, missing values are
excluded.
Additional arguments passed to rowMeans()
and
rowSums()
.