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

View source: R/roc_auc.R

roc_aucR Documentation

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.


yuerany/fullROC documentation built on March 24, 2023, 4:11 a.m.