missing_elimination: Missing Elimination

Description Usage Arguments Examples

Description

This function allows you to eliminate variables which have missing ratios greater than a given threshold for a given data set.

Usage

1
missing_elimination(data, missing_ratio_threshold)

Arguments

data

A data set needs to be defined.

missing_ratio_threshold

The missing ratio threshold must be specified in order to make an elimination.

Examples

1
2
3
4
5
name <- c('John Doe','Peter Gynn','Jolie Hope')
birth_year <- c(1980, 1985, 1971)
salary <- c(20000,NA,10000)
example_data <- data.frame(name,birth_year,salary)
missing_elimination(example_data, 0.10)

ayhandis/creditR documentation built on May 9, 2019, 8:41 a.m.