Description Usage Arguments Value Examples
Anomaly detection using a Hampel filter, i.e., MAD outlier detection over a moving window.
1 | anomaly_hampel(x, mask = !is.na(x), size = c(5L, 5L), ...)
|
x |
A vector of data. |
mask |
A logical vector that defines which values in |
size |
A two-element integer vector specifying the number of
points before and after the current data point to include in the
moving window. Default is |
... |
Additional arguments to pass to |
A vector of flags or scores.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.