Learn R Programming

EpiNow2 (version 1.3.2)

plot_CrIs: Plot EpiNow2 Credible Intervals

Description

Adds lineranges for user specified credible intervals

Usage

plot_CrIs(plot, CrIs, alpha, size)

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

size

Numeric, size of the default line range.

Value

A ggplot2 plot.