prc_2panel: prc_2panel
Draws a PRC curve (with legend) with a second panel underneath showing precision difference.
Description
prc_2panel
Draws a PRC curve (with legend) with a second panel underneath showing precision difference.
Usage
prc_2panel(
prcs,
labels = names(prcs),
col = 1:length(prcs),
highlight = NULL,
yrange_lower = NULL,
legend_title = ""
)
Value
Silently return ggplot object
Arguments
- prcs
list of sparraPRC objects.
- labels
labels to use in legend
- col
line colours
- highlight
if non-null, draw a point at a particular cutoff
- yrange_lower
y range for lower plot. If NULL, generates automatically
- legend_title
title for legend, defaults to nothing