Description Usage Arguments Examples
plot_for_agegroups
is used to generate a plot that can compare the case/death numbers
and incidence age groups. When comparing the cases or deaths, it returns a plot
which shows the share of cases/deaths for each age group. When plotting cases or deaths,
the plot will get smoothened automatically by the ggstream library
1 | plot_for_agegroups(type = "cases")
|
type |
A string which can be "cases" or "deaths". |
1 | plot_for_agegroups(type="deaths")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.