impute_avg: Impute missing values of one variable by substitution with...

Description Usage Arguments Value

Description

Impute missing values of one variable by substitution with avg-week or holi- and bridgeday

Usage

1
impute_avg(data, var, roll_interval = 1, ...)

Arguments

data

the data.table incl. variables with missing data

var

the name of the variable with missing data

roll_interval

which aggregation-interval of avg-week (5, 10 or 20)

...

not used

Value

vector with complete data of variable


MAGDa-BeuthHS/imputeData documentation built on May 8, 2019, 9:28 a.m.