prc_2panel {SPARRAfairness} | R Documentation |
prc_2panel Draws a PRC curve (with legend) with a second panel underneath showing precision difference.
prc_2panel(
prcs,
labels = names(prcs),
col = 1:length(prcs),
highlight = NULL,
yrange_lower = NULL,
legend_title = ""
)
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 |
Silently return ggplot object
# See vignette