Description Usage Arguments Examples
This function calculates information value for character or factor columns of data frame.
1 |
df |
data frame with at least two columns (predictor x and outcome y) |
x |
column (character or factor) for which Information Value should be calculated |
y |
column (integer) with binary outcome. y has to be a column in df data frame. It is suggested that y is factor with two levels "bad" and "good" If there are no levels good/bad than the following assumptions are applied - if y is integer, than 0=good and 1=bad. If y is factor than level 2 is assumed to mean bad and 1 good. |
verbose |
Prints additional details when TRUE. Useful mainly for debugging. |
1 2 | iv.str(german_data,"purpose","gb")
iv.str(german_data,"savings","gb")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.