spim_plot_react: Plot REACT

View source: R/plot_combined.R

spim_plot_reactR Documentation

Plot REACT

Description

Plot REACT

Usage

spim_plot_react(
  dat,
  regions,
  date_min,
  ymax,
  age_band = NULL,
  add_betas = FALSE,
  title = NULL
)

Arguments

dat

Combined data set

regions

Vector of regions to plot

date_min

Starting date for plot

ymax

Maximum percentage on y-axis

age_band

Age band to plot. Can be a vector of age bands to plot if regions is of length 1

add_betas

Logical, indicating if we should add betas

title

Title for the figure, only used if age_band is a vector


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