aucC-package: Quick AUC Computation

aucC-packageR Documentation

Quick AUC Computation

Description

Computes the AUC using a simple for-loop implemented in C++. As of 2020, this implementation was 10x faster than pROC::auc.

Details

Use the aucC_wrap function. See the docs for aucC_wrap.

Author(s)

Jeremiah Jones.

Maintainer: Jeremiah Jones <jeremiah_jones@urmc.rochester.edu>

See Also

aucC_wrap

Examples

  ## 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)

jmiahjones/aucC documentation built on April 20, 2022, 12:46 a.m.