Plotting functions for burden and impact diagnostics. All functions operate on data prepared for plotting by a corresponding plotting-preparation function.
Usage
plot_compare_demography(data, fig_number)
plot_age_patterns(burden_age, fig_number)
plot_global_burden_decades(burden_decades, fig_number)
plot_global_burden(burden_data, outcome_name, fig_number)
plot_coverage_set(coverage_set, fig_number)
plot_fvp(fvp_data, fig_number)Arguments
- data
A
<data.frame>that gives the comparison between VIMC-provided and modeller-used demography values, in long-format. This is expected to be the output ofcheck_demography_alignment()processed byprep_plot_demography().- fig_number
The figure number displayed in the plot title.
- burden_age
A
<tibble>with the minimum column names "age", "value_millions", "burden_outcome", and "scenario"; expected to be the output ofprep_plot_age().- burden_decades
A
<tibble>giving the burden by decade, up toyear_max; expected to be the output ofprep_plot_burden_decades().- burden_data
This is expected to be a
<tibble>from a nested-<tibble>constructed usingprep_plot_global_burden().- outcome_name
A string for an outcome name. Allowed outcome names are given in the package constant constants.
- coverage_set
A
<tibble>that is the output ofprep_plot_coverage_set().- fvp_data
A
<tibble>of estimates of fully-vaccinated persons (FVPs) per scenario, with scenarios as factors in order of the number of adjusted-FVPs. Expected to be the output ofprep_plot_fvp().