computes auc and pauc using trapez rule
See also
Other benchmarking:
Benchmark,
INTERNAL_FUNCTIONS_BY_FAMILY,
ionstar_bench_preprocess(),
make_benchmark(),
ms_bench_add_scores()
Examples
FPR <- c(0, 0.1, 0.2, 0.5, 1.0)
TPR <- c(0, 0.4, 0.7, 0.9, 1.0)
auc <- ms_bench_auc(FPR, TPR)
stopifnot(is.numeric(auc), length(auc) == 1, auc > 0)