iv_sort: Compute and sort variables in a dataset by information value

Description Usage Arguments

Description

This function will compute the information value for each variable in the supplied dataset. Variables can be pre-binned, else the function will bin them using modellingTools::simple_bin with a user-specified number of bins

Usage

1
iv_sort(dat, response, bins = 0)

Arguments

dat:

Dataset, a data.frame or dplyr::tbl_df containing pre-binned variables and binary response

response:

string giving the name of the binary (0/1) response variable in the dataset


awstringer/innR2binnR documentation built on May 11, 2019, 4:11 p.m.