Skip to contents

Plot trajectories of selected model variables

Usage

chlaa_plot_trajectories(
  sim,
  vars = c("inc_symptoms", "cum_deaths"),
  facet = TRUE
)

Arguments

sim

Output from `chlaa_simulate()` or `chlaa_run_scenarios()`.

vars

Variables to plot.

facet

If TRUE, facet by variable.

Value

A ggplot object.