View source: R/apply_numeric_logic.R
apply_numeric_logic | R Documentation |
Apply numeric grouping logic
apply_numeric_logic(main_df, logic_df, unique_key_id, logic_type = "woe")
main_df |
A dataframe that you want to transform. Ensure that it has a unique field which will be represented in the unique_key_id |
logic_df |
A dataframe which provides the logic to apply to each variable |
unique_key_id |
A single attribute representing the unique key in the dataframe |
logic_type |
The logic to use to create either woe and/or grp variables. Options are c('woe','grp') |
A dataframe withe the unique_key_id field along with all transformed attributes (woe and/or grp). The original attributes will not be in this data frame. The only original variable that will be in this data frame is the unique_key_id field
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.