prc_2panel {SPARRAfairness} | R Documentation |
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 = ""
)
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 |
Value
Silently return ggplot object
Examples
# See vignette
[Package SPARRAfairness version 0.0.0.2 Index]