myAuc: another implementation of the AUC in analogy to the...

Description Usage Arguments Value Examples

Description

another implementation of the AUC in analogy to the implementation in glmnet

Usage

1
myAuc(y, prob)

Arguments

y

a factor with levels 0 and 1

prob

the predicted class probabilities

Value

the AUC

Examples

1
myAuc(y=factor(c(rep(0, 5), rep(1, 5))), prob=sin(1:10)^2)

Mathias-Fuchs/simTestSize documentation built on May 7, 2019, 3:42 p.m.