| rowSds {matrixStats} | R Documentation |
Standard deviation estimates for each row (column) in a matrix.
rowSds(x, ...) colSds(x, ...) rowMads(x, centers=NULL, constant=1.4826, ...) colMads(x, ...)
x |
A numeric NxK matrix. |
centers |
A optional numeric vector of length N (K) with centers.
If NULL, they are calculated using rowMedians(). |
constant |
A scale factor. See mad for details. |
... |
Additional arguments passed to rowVars() and
rowMedians(), respectively. |
Returns a numeric vector of length N (K).
Henrik Bengtsson (http://www.braju.com/R/)
sd, mad and var.
rowQuantiles().