imputeMissing: Impute missing values

Description Usage Arguments Value

Description

Naive impuation using mode for factors and median for numerics. The function returns a modified data.frame where missing values have been replaced with modes for factors and medians for numerics. The returned object has the imputed values added as the attribute "imputed".

Usage

1

Arguments

x

a data.frame object

Value

a data.frame object with an appended imputed class and attribute.


Zelazny7/timbr documentation built on May 10, 2019, 1:57 a.m.