View source: R/plot_combined.R
spim_plot_trajectories_by_age | R Documentation |
Plot trajectories by age
spim_plot_trajectories_by_age(
dat,
regions,
what,
date_min = NULL,
age_band = NULL,
with_forecast = TRUE,
add_betas = FALSE,
title = NULL
)
dat |
Combined data set |
regions |
Vector of regions to plot |
what |
Trajectory to plot |
date_min |
Starting date for plot |
age_band |
Age band to plot. Can be a vector of age bands to plot if
|
with_forecast |
Logical, indicating if we should add the forecast |
add_betas |
Logical, indicating if we should add betas |
title |
Title for the figure, only used if age_band is a vector |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.