clean_model_data: clean_model_data

Description Usage Arguments Value

View source: R/clean_model_data.R

Description

Remove outliers from the dataset. If an outlier is detected, the entry in the column value is set to NA.

Usage

1
clean_model_data(model_data, timesIQR = 1.5)

Arguments

model_data

Dataset as a data.table which one-time dimension in the variable timestamp and one numeric variable with the name values

times_IQR

remove outliers, which are more then times_IQR * IQR away from the median

Value

model_data, with all values, which are outside the timesIQR plus minus the median, are in one timestamp set to NA


maxikellerbauer/stAirPol documentation built on May 3, 2019, 3:16 p.m.