entry_rate_na {creditmodel} | R Documentation |
entry_rate_na
is the function to recode variables with missing values up to a certain percentage with missing and non_missing.
entry_rate_na(dat, nr = 0.98, note = FALSE)
dat |
A data frame with x and target. |
nr |
The maximum percent of NAs. |
note |
Logical.Outputs info.Default is TRUE. |
A data.frame
datss = entry_rate_na(dat = lendingclub[1:1000, ], nr = 0.98)