auc: Calculate AUC from a roc_cutpointr or cutpointr object

View source: R/metrics.R

aucR Documentation

Calculate AUC from a roc_cutpointr or cutpointr object

Description

Calculate the area under the ROC curve using the trapezoidal rule.

Usage

auc(x)

## S3 method for class 'roc_cutpointr'
auc(x)

## S3 method for class 'cutpointr'
auc(x)

Arguments

x

Data frame resulting from the roc() or cutpointr() function.

Value

Numeric vector of AUC values

Source

Forked from the AUC package


cutpointr documentation built on April 14, 2022, 1:06 a.m.