auc {MDMA}R Documentation

Area under the curve

Description

Calculate the area under the curve.

[Stable]

Usage

auc(x, ...)

Arguments

x

object of class roc.

...

other arguments (none are used at the moment).

Value

returns the area under the curve for a roc class object.

Author(s)

Mathijs Deen

Examples

a <- roc(QIDS$QIDS, QIDS$depression, c("Yes","No"), "Yes")
auc(a)

[Package MDMA version 1.1.0 Index]