roc_auc | R Documentation |
A function to calculate AUC using non-cumulative response rates.
roc_auc(cpr, car, group = NULL, byDR = FALSE)
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. |
Area under the curve.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.