Get generated quantities draws site level model
Source:R/process_model_outputs.R
get_gen_quants_draws.Rd
This function takes the raw stan output from the site leve model and arranges them in a tidy data format, with time and site_index as indexing variables.
Value
A long dataframe with model draws from pred_hosp, pred_ww, R(t) and p_hosp(t), where all but pred_ww have one value per time point and draw. Bc we need all the column names to be the same, site_index is left empty for those. The resulting dataframe has the following columns: name, site_index, t, value, draw