auc | R Documentation |
Area Under the RO Curve (AUC)
auc(pred, rvar, lev)
pred |
Prediction or predictor |
rvar |
Response variable |
lev |
The level in the response variable defined as success |
See https://radiant-rstats.github.io/docs/model/evalbin.html for an example in Radiant
AUC statistic
evalbin
to calculate results
summary.evalbin
to summarize results
plot.evalbin
to plot results
auc(runif(20000), dvd$buy, "yes")
auc(ifelse(dvd$buy == "yes", 1, 0), dvd$buy, "yes")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.