R/mad.R

Defines functions mad

Documented in mad

#' 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.