Learn R Programming

CARRoT (version 3.0.2)

AUC: Area Under the Curve

Description

Function enables efficient computation of area under receiver operating curve (AUC). Source: https://stat.ethz.ch/pipermail/r-help/2005-September/079872.html

Usage

AUC(probs, class)

Value

A value for AUC

Arguments

probs

probabilities

class

outcomes

Examples

Run this code
AUC(runif(100,0,1),rbinom(100,1,0.3))

Run the code above in your browser using DataLab