Learn R Programming

plotROC (version 1.3.3)

plot_journal_roc: Plot an ROC curve for use in print

Description

Given a ggroc object, creates a plot suitable for print.

Usage

plot_journal_roc(ggroc_p, font.size = 3, n.cuts = 20, ci.at = NULL,
  opacity = 0.3, lty = NULL, color = NULL, lwd = NULL, legend = FALSE)

Arguments

ggroc_p
An object as returned by ggroc or multi_ggroc. It can be modified with annotations, themes, etc.
font.size
Integer that determines font size of cutoff labels
n.cuts
Number of cutoffs to display
ci.at
Cutoff values at which to plot confidence regions, if non-NULL, rocdata must contain limits for the confidence region, as returned by calculate_roc
opacity
Opacity level for confidence region boxes. Defaults to 0.3. Must be between 0 and 1
lty
Optional vector of integers defining line types to apply to curves
color
Optional vector of color names to apply to curves
lwd
Line widths for curves
legend
Logical. If true plots a legend in bottom right corner of plot

Value

  • A ggplot object