powered by
Relative Information Gain (RIG)
rig(pred, rvar, lev, crv = 1e-07, na.rm = TRUE)
Prediction or predictor
Response variable
The level in the response variable defined as success
Correction value to avoid log(0)
Logical that indicates if missing values should be removed (TRUE) or not (FALSE)
RIG statistic
See https://radiant-rstats.github.io/docs/model/evalbin.html for an example in Radiant
evalbin to calculate results
evalbin
summary.evalbin to summarize results
summary.evalbin
plot.evalbin to plot results
plot.evalbin
# NOT RUN { rig(runif(20000), dvd$buy, "yes") rig(ifelse(dvd$buy == "yes", 1, 0), dvd$buy, "yes") # }
Run the code above in your browser using DataLab