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
)
Combined data set
Vector of regions to plot
Trajectory to plot
Starting date for plot
Age band to plot. Can be a vector of age bands to plot if
regions
is of length 1
Logical, indicating if we should add the forecast
Logical, indicating if we should add betas
Title for the figure, only used if age_band is a vector