Learn R Programming

creditmodel (version 1.3.1)

entry_rate_na: Max Percent of missing Value

Description

entry_rate_na is the function to recode variables with missing values up to a certain percentage with missing and non_missing.

Usage

entry_rate_na(dat, nr = 0.98, note = FALSE)

Arguments

dat

A data frame with x and target.

nr

The maximum percent of NAs.

note

Logical.Outputs info.Default is TRUE.

Value

A data.frame

Examples

Run this code
# NOT RUN {
datss = entry_rate_na(dat = lendingclub[1:1000, ], nr = 0.98)
# }

Run the code above in your browser using DataLab