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 20, 2017, 12:42 a.m.
Search within the mvdalab package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.