mad {BiocGenerics} | R Documentation |
Compute the median absolute deviation for a vector, dispatching only
on the first argument, x
.
NOTE: This man page is for the mad
S4 generic function
defined in the BiocGenerics package.
See ?stats::mad
for the default method
(defined in the stats package).
Bioconductor packages can define specific methods for objects
not supported by the default method.
mad(x, center = median(x), constant = 1.4826, na.rm = FALSE, low = FALSE, high = FALSE)
x, center, constant, na.rm, low, high |
See |
See ?stats::mad
for the value returned by the
default method.
Specific methods defined in Bioconductor packages should behave as consistently as possible with the default method.
stats::mad
for the default
mad
method.
showMethods
for displaying a summary of the
methods defined for a given generic function.
selectMethod
for getting the definition of
a specific method.
BiocGenerics for a summary of all the generics defined in the BiocGenerics package.
mad showMethods("mad") selectMethod("mad", "ANY") # the default method