Learn R Programming

radiant.model (version 0.8.0)

auc: Area Under the Curve (AUC)

Description

Area Under the Curve (AUC)

Usage

auc(pred, rvar, lev)

Arguments

pred

Prediction or predictor

rvar

Response variable

lev

The level in the response variable defined as _success_

Value

AUC statistic

Details

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

See Also

evalbin to calculate results

summary.evalbin to summarize results

plot.evalbin to plot results

Examples

Run this code
# NOT RUN {
auc(runif(nrow(mtcars)), mtcars$vs, 1)

# }

Run the code above in your browser using DataLab