View source: R/plot_multivariant.R
spim_multivariant_rt_plot | R Documentation |
Create multivariant Rt plot
spim_multivariant_rt_plot(
dat,
date,
last_beta_days_ago = 21,
region = "england",
rt_type = "eff_Rt_general",
manuscript = FALSE
)
dat |
Main fitting outputs object |
date |
Date of the analysis |
last_beta_days_ago |
Integer for setting last beta changepoint in relation to date of analysis |
region |
A string for the name of the region to plot |
rt_type |
A string, must be one of eff_Rt_general or Rt_general |
manuscript |
Logical indicating whether plots are for manuscript |
A ggplot2 object for multivariant Rt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.