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, ...)
A data frame.
The data frame parameter to check and replace outliers.
The size of the rolling median window.
Parameters to extend flagOutliers
.
A data.frame
with replaced outliers