auc: Area under the curve

View source: R/auc.R

aucR 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)

MDMA documentation built on April 3, 2025, 11:10 p.m.

Related to auc in MDMA...