R/intcensAUC.R

Defines functions intcensAUC

Documented in intcensAUC

# This file was generated by Rcpp::compileAttributes Generator token:
# 10BE3573-1514-4C36-9D1C-5A225CD40393
intcensAUC <- function(ROCdata) {
    # library(pracma)
    FP = ROCdata$fp
    TP = ROCdata$tp
    pracma::trapz(sort(FP, decreasing = FALSE), sort(TP, decreasing = FALSE))
}

Try the intcensROC package in your browser

Any scripts or data that you put into this service are public.

intcensROC documentation built on June 15, 2021, 9:07 a.m.