Quartile Naive Imputation of Missing Values

Share:

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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.