rowMads | R Documentation |
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 = TRUE)
colMads(x, rows = NULL, cols = NULL, center = NULL, constant = 1.4826,
na.rm = FALSE, dim. = dim(x), ..., useNames = TRUE)
rowSds(x, rows = NULL, cols = NULL, na.rm = FALSE, refine = TRUE,
center = NULL, dim. = dim(x), ..., useNames = TRUE)
colSds(x, rows = NULL, cols = NULL, na.rm = FALSE, refine = TRUE,
center = NULL, dim. = dim(x), ..., useNames = TRUE)
x |
An NxK |
rows |
A |
cols |
A |
center |
(optional) The center, defaults to the row means for the SD estimators and row medians for the MAD estimators. |
constant |
A scale factor. See |
na.rm |
If |
dim. |
An |
... |
Additional arguments passed to |
useNames |
If |
refine |
If |
Returns a numeric
vector
of
length N (K).
Henrik Bengtsson
sd
, mad
and
var
. rowIQRs
().
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.