R/mad.R

#' MAD
#' @return overlab of plot
#' @export
mad<-function(v,na.rm=T){
  MAD=median(abs(v-median(v,na.rm=na.rm)),na.rm=na.rm)
  return(MAD)
  }
qkdrk777777/Ducj documentation built on May 16, 2019, 8:14 p.m.