forceDecrTrend: Force a numerical variable to follow a monotonically decreasing trend
Description
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
Usage
forceDecrTrend(binObj, xVars)
Arguments
binObj
- An object returned by getBins or any other function (except createBins) in this package
xVars
- A vector of the name of variables
Value
Returns a list containing 3 objects. Similar to the getBins function