rowSds: Standard deviation estimates for each row (column) in a...

Description Usage Arguments Value Author(s) See Also

Description

Standard deviation estimates for each row (column) in a matrix.

Usage

1
2
3
4
 rowSds(x, ...)
 colSds(x, ...)
 rowMads(x, centers=rowMedians(x, ...), constant=1.4826, ...)
 colMads(x, centers=colMedians(x, ...), constant=1.4826, ...)

Arguments

x

A numeric NxK matrix.

centers

A optional numeric vector of length N (K) with centers. By default, they are calculated using rowMedians().

constant

A scale factor. See mad for details.

...

Additional arguments passed to rowVars() and rowMedians(), respectively.

Value

Returns a numeric vector of length N (K).

Author(s)

Henrik Bengtsson

See Also

sd, mad and var. rowIQRs().


matrixStats documentation built on May 2, 2019, 4:52 p.m.