Learn R Programming

creditmodel (version 1.0)

entry_rate_na: Max Percent of NAs

Description

entry_rate_na is the function to encode variables which NAs & miss value rate is more than 95

Usage

entry_rate_na(dat, nr = 0.95, 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