Description Usage Arguments Value Examples
Applies a Hampel filter to a vector to detect outliers. An value is
defined as an outlier if it is beyond sigma
median absolute
deviations (MAD) from the vector median.
1 |
v |
numerical vector |
sigma |
+/- MAD values for the normal range |
na.rm |
Boolean, whether to remove NA values from median and mad calculations |
A vector of numerical values. 0 denotes a normal value, -1 is an outlier below the threshold, 1 is an outlier above the threshold.
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.