Format the hospital admissions data into a tidy dataframe
Source:R/model_component_fwd_sim.R
format_hosp_data.Rd
Format the hospital admissions data into a tidy dataframe
Arguments
- pred_obs_hosp
vector of non-negative integers indicating the number of hospital admissions on each day
- dur_obs
integer indicating the number of days we want the observations for
- pop_size
integer indicating the population size of the admissions catchment area
- date_df
tibble of columns
date
andt
that map time in days to dates