rowModes {VanillaICE} | R Documentation

## Robust statistics for matrices

### 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

    rowModes(x)

    colModes(x)

    rowMAD(x, ...)

### Arguments

`x` | matrix
`...` | additional arguments to rowMedians

### Value

numeric vector

### See Also

`mad`

`mad` `rowMedians`

### Examples

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

[Package VanillaICE version 1.42.4 Index]