Plot trajectories

spim_plot_trajectories(
  dat,
  regions,
  what,
  date_min = NULL,
  age_band = NULL,
  with_forecast = TRUE,
  add_betas = FALSE
)

Arguments

dat

Combined data set

regions

Vector of regions to plot

what

Vector of traces to add

date_min

Starting date for plot. If not given, defaults to the beginning of the data.

age_band

Age band to plot

with_forecast

Logical, indicating if we should add the forecast

add_betas

Logical, indicating if we should add betas