AUROC: Area Under the ROC Curve

Description Usage Arguments Examples

View source: R/AUROC.R

Description

Calculates the area under the ROC curve.

Usage

1
AUROC(Target, Prediction)

Arguments

Target

A vector with values of 0/1 to be predicted.

Prediction

A vector of prediction or covariate used to predict the target.

Examples

1
AUROC(mtcars[, "am"], mtcars[, "mpg"])

Then-Terence/LXR documentation built on March 12, 2021, 12:04 a.m.