Description Usage Arguments Value
View source: R/02_model_output_calc_plot_functions.R
plot_expinf_totals plot total number of
infections (E and I) by age group and/or in total over time.
1 2 3 4 5 6 7  | plot_expinf_totals(
  l_out_cosmo,
  proportion = FALSE,
  age_proportion = FALSE,
  only_all = TRUE,
  print_plot = TRUE
)
 | 
l_out_cosmo | 
 List with output from SC-COSMO and all parameters  | 
proportion | 
 Flag (default is FALSE) of whether to divide total number of infections (E and I) by total population.  | 
age_proportion | 
 Flag (default is FALSE) of whether to divide total number of infections (E and I) by age-specific total population.  | 
only_all | 
 Flag (default is TRUE) of whether only overall ("All") total number of infections (E and I) should be plotted.  | 
print_plot | 
 Flag (default is TRUE) of whether the plot should be printed in screen.  | 
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.