Description Usage Arguments Value Examples
This function forces a variable to follow a monotonically decreasing trend by grouping bins. In case such a trend can not be forced a message is printed to the console
1 | forceDecrTrend(binObj, xVars)
|
binObj |
- An object returned by getBins or any other function (except createBins) in this package |
xVars |
- A vector of the name of variables |
Returns a list containing 3 objects. Similar to the getBins function
1 2 | b1 <- getBins(loanData, "bad_flag", c('age', 'score'), minCr=0.6, minProp = 0.01)
b1 <- forceDecrTrend(b1, c('score','age'))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.