Perform smoothing by replacing outliers with the window median
value. Using this technique, you can create an highly smoothed, artificial
dataset by setting thresholdMin = 1
or lower (but always above zero).
.replaceOutliers(df = NULL, parameter = NULL, medWin = 7, ...)
df | A data frame. |
---|---|
parameter | The data frame parameter to check and replace outliers. |
medWin | The size of the rolling median window. |
... | Parameters to extend |
A data.frame
with replaced outliers