Learn R Programming

EpiNow2 (version 1.1.0)

plot_summary: Plot a Summary of the Latest Results

Description

Plot a Summary of the Latest Results

Usage

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

Arguments

summary_results

A data.able 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