imputeQs: Quartile Naive Imputation of Missing Values

Description Usage Arguments Details Author(s) Examples

View source: R/imputeQs.R

Description

Missing value imputed as 'Missing'.

Usage

1

Arguments

data

a dataset with missing values

Details

A completed data frame is returned. For continous variables with missing values, missing values are replaced with 'Missing', while the non-missing values are replaced with their corresponding quartile assignment. For categorical variable with missing values, missing values are replaced with 'Missing'. This procedure can greatly increases the dimensionality of the data.

Author(s)

Nelson Lee Afanador (nelson.afanador@mvdalab.com)

Examples

1
2
dat <- introNAs(iris, percent = 25)
imputeQs(dat)

mvdalab documentation built on May 30, 2017, 2:40 a.m.

Search within the mvdalab package
Search all R packages, documentation and source code