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

Description Usage Arguments Value

View source: R/roc_auc.R

Description

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

Usage

1
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.


fullROC documentation built on Jan. 16, 2021, 5:40 p.m.

Related to roc_auc in fullROC...