A function to calculate AUC using non-cumulative response rates.
roc_auc(cpr, car, group = NULL, byDR = FALSE)
A vector of cp id rates.
A vector of ca id rates.
A vector indicating group membership. If specified, will calculate AUC by group.
Whether to order ids by diagnosticity ratios. Defaults to FALSE.
Area under the curve.