Learn R Programming

EpiNow2 (version 1.6.1)

plot_CrIs: Plot EpiNow2 Credible Intervals

Description

[Stable] Adds lineranges for user specified credible intervals

Usage

plot_CrIs(plot, CrIs, alpha, linewidth)

Value

A {ggplot2} plot.

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.