powered by
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
entry_rate_na(dat, nr = 0.98, note = FALSE)
A data frame with x and target.
The maximum percent of NAs.
Logical.Outputs info.Default is TRUE.
A data.frame
# NOT RUN { datss = entry_rate_na(dat = lendingclub[1:1000, ], nr = 0.98) # }
Run the code above in your browser using DataLab