prepare.transform_data: Data transformation function

Description Usage Arguments Details Examples

View source: R/prepare_transform_data.R

Description

Substitutes missing values of a specific set of columns with the character "None".

Usage

1

Arguments

data

Input data which contains missing values

na.col

Set of column names which contain at least one missing value that is then substituted with the character "None"

Details

Especially in the given dataset missing values often yielded semantical meaning. To generate an additional class when transformed into numerical values this function is used to substitutes those missing values not at random with a character "None" that should get transformed into an numeric value instead of NA.

Examples

1

MarcoNiemann/kaggle_house documentation built on May 7, 2019, 2:50 p.m.