Compare growth rates in wastewater and hospital admissions data
Source:R/plots.R
get_growth_rate_plot.Rd
Compare growth rates in wastewater and hospital admissions data
Usage
get_growth_rate_plot(
input_hosp_data,
input_ww_data,
location,
forecast_date,
rate = "daily",
align = "center"
)
Arguments
- input_hosp_data
tibble of hospital admissions counts for a particular location and forecast date
- input_ww_data
tibble of wastewater concentrations for a particular location and forecast date
- location
string indicating the location of interest
- forecast_date
string indicating the forecast date of interest
- rate
string indicating whether the plot should be a daily or weekly growth rates. Default is
"daily"
- align
string indicating how to align the 7 day rolling average of the hospital admissions and wastewater data. Default is
"center"