AUC {CARRoT}R Documentation

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)

Arguments

probs

probabilities

class

outcomes

Value

A value for AUC

Examples

AUC(runif(100,0,1),rbinom(100,1,0.3))

[Package CARRoT version 3.0.2 Index]