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, ...)
colSds(x, rows = NULL, cols = NULL, ...)
A optional numeric
vector
of length N (K) with centers. By default, they
are calculated using rowMedians
().
A scale factor. See mad
for details.
If TRUE
, missing values are removed
first, otherwise not.
Additional arguments passed to rowVars
() and
rowMedians
(), respectively.