All pairs mean and sum of absolute differences
MAD_(x, ..., na.rm = getOption("na.omit", FALSE))SAD_(x, ..., na.rm = getOption("na.omit", FALSE))
a numeric vector or a formula.
additional arguments appended to x
a logical indicating whether NAs should be removed before calculating.
the mean or sum of the absolute differences between each pair
of values in c(x,...)
.