dot-replaceOutliers: Replace outliers with rolling median

Description Usage Arguments Value

Description

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).

Usage

1
.replaceOutliers(df = NULL, parameter = NULL, medWin = 7, ...)

Arguments

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 flagOutliers.

Value

A data.frame with replaced outliers


AirSensor documentation built on March 13, 2021, 1:07 a.m.