plot.estimate_infections: Plot method for estimate_infections

plot.estimate_infectionsR Documentation

Plot method for estimate_infections

Description

[Maturing] plot method for class ⁠<estimate_infections>⁠.

Usage

## S3 method for class 'estimate_infections'
plot(
  x,
  type = c("summary", "infections", "reports", "R", "growth_rate", "all"),
  ...
)

Arguments

x

A list of output as produced by estimate_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.

...

Pass additional arguments to report_plots

Value

List of plots as produced by report_plots()

See Also

plot report_plots estimate_infections


epiforecasts/EpiNow2 documentation built on May 13, 2024, 3:11 a.m.