auc {cutpointr}R 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


[Package cutpointr version 1.1.1 Index]