Learn R Programming

iMRMC (version 2.1.0)

doROCavg: Empirically average over multiple empirical ROC curves

Description

Empirically average over multiple empirical ROC curves

Usage

doROCavg(ROC, direction = "SeSp")

Value

data frame of an ROC curve

  • fpf False-positive fractions (1-specificity)

  • tpf True-positive fractions (sensitivity)

Arguments

ROC

list of ROC curves. Each element of the list is a data frame with pairs of (fpf, tpf) operating points.

direction

the direction over which to average

  • SeSp (default) The ROC curves are averaged diagonally. Average Se+Sp of all the input ROC curves for every possible Se-Sp.

  • Se The ROC curves are averaged vertically. Average the sensitivity of all the input ROC curves for every possible specificity.

  • Sp The ROC curves are averaged horizontally. Average the specificity of all the input ROC curves for every possible specificity.