vac_plot_age | R Documentation |
vac_plot_age()
plots vaccinations by age group in a bar chart.
vac_plot_age(
.data = vac_prep(read_vac(date)),
date = NULL,
by_pop = TRUE,
incl_under_12 = FALSE
)
.data |
Vaccination data, as created by
|
date |
Date of vaccination data |
by_pop |
Should the resulting graphic be calculated using age group
population statistics ( |
incl_under_12 |
Should the age group |
When by_pop = TRUE
,
the resulting figure displays vaccinations with reference to the population
of each age group; when by_pop = FALSE
, the figure does not display
population-related values.
A ggplot
object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.