spim_plot_pillar2_positivity: Plot Pillar 2 positivity

View source: R/plot_combined.R

spim_plot_pillar2_positivityR Documentation

Plot Pillar 2 positivity

Description

Plot Pillar 2 positivity

Usage

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

Arguments

dat

Combined data set

regions

Vector of regions to plot

age_band

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

date_min

Starting date for plot

ymax

Maximum percentage on y-axis

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.