plot_idxinc_totals: Plot total incident diagnosed infectious infections

Description Usage Arguments Value

View source: R/02_model_output_calc_plot_functions.R

Description

plot_idxinc_totals plot total number of incident diagnosed infectious infections by age group and/or in total over time.

Usage

1
2
3
4
5
6
7
plot_idxinc_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 incident diagnosed infectious by total population.

age_proportion

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

only_all

Flag (default is TRUE) of whether only overall ("All") total total number of incident diagnosed infectious should 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.