plot.forecast_infections: Plot method for forecast_infections

plot.forecast_infectionsR Documentation

Plot method for forecast_infections

Description

plot method for class ⁠<forecast_infections>⁠.

Usage

## S3 method for class 'forecast_infections'
plot(x, type = "summary", CrIs = c(0.2, 0.5, 0.9), ...)

Arguments

x

A list of output as produced by forecast_infections

type

A character vector indicating the name of the plot to return. Defaults to "summary" with supported options being "infections", "reports", "R", "growth_rate", "summary", "all". If "all" is supplied all plots are generated.

CrIs

Numeric vector of credible intervals to calculate.

...

Pass additional arguments to report_plots

Value

List of plots as produced by report_plots()

See Also

report_plots() forecast_infections()


EpiNow2 documentation built on June 17, 2026, 1:07 a.m.