powered by
roc_2panel Draws a ROC curve (with legend) with a second panel underneath showing sensitivity difference.
roc_2panel( rocs, labels = names(rocs), col = 1:length(rocs), xy_col = phs_colours("phs-magenta"), highlight = NULL, yrange_lower = NULL, legend_title = "" )
Invisibly returns plot as ggplot object
list of sparraROC objects
labels to use in legend; default to names of rocs.
line colours
line colour for x-y line, defaults to red
if non-null, add a point at this cutoff
y range for lower plot. If NULL, generates automatically
title for legend, defaults to nothing
# See vignette
Run the code above in your browser using DataLab