plot_summary: Plot a Summary of the Latest Results

plot_summaryR Documentation

Plot a Summary of the Latest Results

Description

[Questioning] Used to return a summary plot across regions (using results generated by summarise_results).

May be depreciated in later releases in favour of enhanced S3 methods.

Usage

plot_summary(summary_results, x_lab = "Region", log_cases = FALSE, max_cases)

Arguments

summary_results

A data.table as returned by summarise_results (the data object).

x_lab

A character string giving the label for the x axis, defaults to region.

log_cases

Logical, should cases be shown on a logged scale. Defaults to FALSE.

max_cases

Numeric, no default. The maximum number of cases to plot.

Value

A ggplot2 object


EpiNow2 documentation built on Sept. 26, 2023, 5:11 p.m.