Draws ROC and PR curves for the selected models and horizons. When
mode
is "both", returns a list of ggplot objects. Otherwise, draws
the plots and returns NULL
invisibly.
List of ggplot objects when mode == "both"
, else NULL
.
Data frame containing model probabilities and outcomes.
Integer vector, KFRE model sizes to plot, any of 4, 6, 8.
Numeric length 2, plot device width and height.
Character, "both" to return plots, otherwise draw only.
Optional directory to save PNGs.
Optional directory to save SVGs.
Optional filename prefix.
Character, passed through when saving.
Character, which plots to render.
Logical, save plots to disk if TRUE.
Integer vector, horizons to show, any of 2, 5.
Logical, if TRUE draw pairwise overlays.
Logical, arrange subplots when TRUE.
Integer digits for annotations.
Logical, open device before plotting.