mad_rcpp {robustreg}R Documentation

Median Absolute Deviation (MAD)

Description

Rcpp fast implementation of median absolute deviation (MAD)

Usage

mad_rcpp(r,scale_factor = 1.4826)

Arguments

r

A numeric vector

scale_factor

Scale factor

Author(s)

Ian M. Johnson

Examples

mad(1:100)

[Package robustreg version 0.1-11 Index]