- x
a numeric or complex vector.
- center
optional, numeric or complex. The center about which to calculate MAD. Defaults to median for numeric, and geo_median for complex.
- constant
a constant by which to multiply the median absolute deviation from center. Default is 1.4826, which is the inverse of the 3/4 quantile for the normal distribution.
- na.rm
logical. Should NAs be removed from x before calculating.
- low
logical. If TRUE, compute the "lo-median", i.e., for even sample size, do not average the two middle values, but take the smaller one. Not used if x is complex.
- high
logical. If TRUE, compute the "hi-median", i.e., take the larger of the two middle values for even sample size. Not used if x is complex.