prep_res_for_plotting: Prepare age-structured simulation results data frame for...

View source: R/methods.R

prep_res_for_plottingR Documentation

Prepare age-structured simulation results data frame for plotting

Description

Prepare age-structured simulation results data frame for plotting

Usage

prep_res_for_plotting(
  res,
  drop_states = NULL,
  condense_I = FALSE,
  split_age_vax = FALSE
)

Arguments

res

age-structured simulation result

drop_states

states to exclude from plot

condense_I

condense all the different I (infectious) states to a single I state? (??)

split_age_vax

should the age and vaccination category be split into different columns?


bbolker/McMasterPandemic documentation built on Aug. 25, 2024, 6:35 p.m.