rwavelet (version 0.4.0)

MAD: Median Absolute Deviation

Description

Compute the median absolute deviation.

Usage

MAD(x)

Arguments

x

1-d signal.

Examples

Run this code
# NOT RUN {
x <- c(1, 1, 2, 2, 4, 6, 9)
MAD(x)
# }

Run the code above in your browser using DataCamp Workspace