inst/examples/mad/R/mad.R

mean_absolute_deviation <- function(x, center) {
  mean(abs(x - center))
}

Try the muttest package in your browser

Any scripts or data that you put into this service are public.

muttest documentation built on May 14, 2026, 5:10 p.m.