MAD_: All pairs mean and sum of absolute differences

View source: R/aggregatingMeta.R

MAD_R Documentation

All pairs mean and sum of absolute differences

Description

All pairs mean and sum of absolute differences

Usage

MAD_(x, ..., na.rm = getOption("na.omit", FALSE))

SAD_(x, ..., na.rm = getOption("na.omit", FALSE))

Arguments

x

a numeric vector or a formula.

...

additional arguments appended to x

na.rm

a logical indicating whether NAs should be removed before calculating.

Value

the mean or sum of the absolute differences between each pair of values in c(x,...).

See Also

mad()


ProjectMOSAIC/mosaic documentation built on Feb. 21, 2024, 2:11 a.m.