plot_rec_totals: Plot total recovered

Description Usage Arguments Value

View source: R/02_model_output_calc_plot_functions.R

Description

plot_rec_totals plot total number of recovered by age group and/or in total over time.

Usage

1
2
3
4
5
6
7
plot_rec_totals(
  l_out_cosmo,
  proportion = FALSE,
  age_proportion = FALSE,
  only_all = TRUE,
  print_plot = TRUE
)

Arguments

l_out_cosmo

List with output from SC-COSMO and all parameters.

proportion

Flag (default is FALSE) of whether to divide total number of recovered by total population.

age_proportion

Flag (default is FALSE) of whether to divide total number of recovered by age-specific total population.

only_all

logical. Should only overall total infections be plotted

print_plot

Flag (default is TRUE) of whether the plot should be printed in screen.

Value

A ggplot object.


SC-COSMO/sccosmomcma documentation built on Dec. 18, 2021, 11:56 a.m.