spim_plot_trajectories: Plot trajectories

View source: R/plot_combined.R

spim_plot_trajectoriesR Documentation

Plot trajectories

Description

Plot trajectories

Usage

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


mrc-ide/spimalot documentation built on Oct. 15, 2024, 12:15 p.m.