Process BRMS log-linear fits of recent trends
Source:R/process_recent_trend_fits.R
process_recent_trend_fits.Rd
Process BRMS log-linear fits of recent trends
Usage
process_recent_trend_fits(
hosp_fit,
ww_fit,
figure_save_dir,
figure_ext = "pdf",
n_lab_sites_plot = 10
)
Arguments
- hosp_fit
brms::brmsfit object for the hospital admissions trend.
- ww_fit
brms::brmsfit object for the wastewater trend.
- figure_save_dir
Directory in which to save output figures
- figure_ext
File extension for figures, without the
.
, e.g."pdf"
or"png"
.- n_lab_sites_plot
Maximum number of lab-sites for which to plot wastewater trends. Default
10
.