aucC-package | R Documentation |
Computes the AUC using a simple for-loop implemented in C++. As of 2020, this implementation was 10x faster than pROC::auc.
Use the aucC_wrap function. See the docs for aucC_wrap.
Jeremiah Jones.
Maintainer: Jeremiah Jones <jeremiah_jones@urmc.rochester.edu>
aucC_wrap
## Not run: y=rbinom(100, size=1, prob=1/2) label = factor(y, levels=c(0,1), labels=c("No", "Yes")) scores = runif(100) # higher scores predict label == "Yes" aucC::aucC_wrap(label, scores) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.