Skip to contents

This function calculates the area under the ROC curve (AUC) using specificity and sensitivity values.

Usage

compute_roc_auc(dt)

Arguments

dt

A data table with columns for True positive rate and False positive rate

Value

A numeric value representing the AUC.