Description Usage Arguments Examples
Apply binnings
1 | apply_binnings(binnings, data, woe = FALSE, suffix = "_cat")
|
binnings |
A named list of |
data |
A data frame containing variables to bin. Names need need to coincide. |
woe |
If the value is the woe instead of the categoric variable. |
suffix |
A string to be added to the output to disambiguate the original variables names. |
1 2 3 4 5 6 7 8 9 10 11 12 | data("german_credit")
dbiv <- describe_bivariate(german_credit, target = good_bad)
dbiv <- dplyr::filter(dbiv, iv > 0.1)
binnings <- dplyr::select(dbiv, variable, binning)
binnings <- tibble::deframe(binnings)
data <- dplyr::select(german_credit, credit_amount, property,
purpose, credit_history, good_bad)
apply_binnings(binnings, data)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.