fullROC (version 0.1.0)

roc_auc: A function to calculate AUC using non-cumulative response rates.

Description

A function to calculate AUC using non-cumulative response rates.

Usage

roc_auc(cpr, car, group = NULL, byDR = FALSE)

Arguments

cpr

A vector of cp id rates.

car

A vector of ca id rates.

group

A vector indicating group membership. If specified, will calculate AUC by group.

byDR

Whether to order ids by diagnosticity ratios. Defaults to FALSE.

Value

Area under the curve.