entry_rate_na: Max Percent of missing Value

Description Usage Arguments Value Examples

View source: R/data_cleansing.R

Description

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

Usage

1
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

1
datss = entry_rate_na(dat = lendingclub[1:1000, ], nr = 0.98)

creditmodel documentation built on Jan. 7, 2022, 5:06 p.m.