powered by
prc_2panel Draws a PRC curve (with legend) with a second panel underneath showing precision difference.
prc_2panel( prcs, labels, col = 1:length(prcs), lty = rep(1, length(col)), highlight = NULL, mar_scale = 1, yrange_lower = NULL, ... )
No return value, draws a figure
list of sparraPRC objects. If of length 1, splits into folds
labels to use in legend
line colours
line type, defaults to 1
if non-null, draw a point at a particular cutoff
scale bottom and left margins by this amount. Also scales legend.
y range for lower plot. If NULL, generates automatically
other parameters passed to legend()
# See vignette
Run the code above in your browser using DataLab