powered by
cal_2panel Draws calibration curves (with legend) with a second panel underneath showing predicted differences.
cal_2panel( cals, labels, col = 1:length(cals), xy_col = phs_colours("phs-magenta"), ci_col = col, highlight = NULL, yrange_lower = NULL, legend_title = "" )
Silently return ggplot object
list of calibration objects, output from getcal().
labels to use in legend
line colours
line colour for x-y line, defaults to phs-magenta
colours to draw confidence intervals on lower panel; NA to not draw.
if non-null, highlight a particular value
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