powered by
Rcpp fast implementation of median absolute deviation (MAD)
mad_rcpp(r,scale_factor = 1.4826)
A numeric vector
Scale factor
# NOT RUN { mad(1:100) # }
Run the code above in your browser using DataLab