auc: Area Under the Curve (AUC)

Description Usage Arguments Details Value See Also Examples

View source: R/evalbin.R

Description

Area Under the Curve (AUC)

Usage

1
auc(pred, rvar, lev)

Arguments

pred

Prediction or predictor

rvar

Response variable

lev

The level in the response variable defined as success

Details

See https://radiant-rstats.github.io/docs/model/evalbin.html for an example in Radiant

Value

AUC statistic

See Also

evalbin to calculate results

summary.evalbin to summarize results

plot.evalbin to plot results

Examples

1
2
auc(runif(20000), dvd$buy, "yes")
auc(ifelse(dvd$buy == "yes", 1, 0), dvd$buy, "yes")

radiant.model documentation built on June 15, 2018, 9:13 a.m.