Learn R Programming

FIACH (version 0.1.2)

rowMad: Compute row Median Absolute Deviations

Description

This function computes the Median Absolute Deviation of each row in a matrix.

Usage

rowMad(X)

Arguments

X
X must be a numeric matrix.

Value

Returns a vector containing the row Median Absolute Deviations.

Examples

Run this code
mat<-matrix(rnorm(100*100),ncol=100)
a<-rowMad(mat)

Run the code above in your browser using DataLab