Determine cutoffs of x (for outlier detection) based on median
Usage
cutoffByMMAD(x, d, ...)
Arguments
x
numeric vector
d
scalar numeric, factor by which to multiply MAD of x
...
additional parameters passed on to median()
Value
A list of length 2, with a scalar numeric in each slot, one giving the lower threshold (median(x) - d * mad(x)),
the other giving the upper threshold (median(x) + d * mad(x)) for outlier definition.