Rfast (version 1.7.3)

Column and rows-wise mean absolute deviations: Column and row-wise mean absolute deviations

Description

Column and row-wise mean absolute deviations.

Usage

colMads(x)

Arguments

x
A matrix with the data.

Value

A vector with the column-wise mean absolute deviations.

Details

The functions is written in C++ in order to be as fast as possible.

See Also

colMedians, rowMedians, colVars, colmeans, colMeans (buit-in R function)

Examples

Run this code
x <- matrix( rnorm(100 * 1000), ncol = 1000 )
system.time( a <- colMads(x) )

Run the code above in your browser using DataLab