Robust statistics for matrices

Share:

Description

Compute the column-wide or row-wise mode of numeric matrices

Compute the median absolute deviation (MAD) for the rows of a matrix

Usage

1
2
3
4
5

Arguments

x

matrix

...

additional arguments to rowMedians

Value

numeric vector

See Also

mad

mad rowMedians

Examples

1
2
X <- matrix(rnorm(100), 10, 10)
rowMAD(X)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.