plot_CrIs function

Plot EpiNow2 Credible Intervals

Plot EpiNow2 Credible Intervals

Adds lineranges for user specified credible intervals

plot_CrIs(plot, CrIs, alpha, linewidth)

Arguments

  • plot: A {ggplot2} plot
  • CrIs: Numeric list of credible intervals present in the data. As produced by extract_CrIs().
  • alpha: Numeric, overall alpha of the target line range
  • linewidth: Numeric, line width of the default line range.

Returns

A {ggplot2} plot.