Learn R Programming

MDMA (version 2.0.0)

auc: Area under the curve

Description

Calculate the area under the curve.

[Stable]

Usage

auc(x, ...)

Value

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

Arguments

x

object of class roc.

...

other arguments (none are used at the moment).

Author

Mathijs Deen

Examples

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

Run the code above in your browser using DataLab