| merge_trunc_pred_obs | R Documentation |
Internal function to prepare data for plotting or returning merged predictions and observations. Combines predictions with observed data from each snapshot, including the latest observations as reference.
merge_trunc_pred_obs(observations, predictions)
observations |
A list of |
predictions |
A |
A <data.table> with columns: date, report_date, confirm (observed),
last_confirm (from latest snapshot), and prediction columns (median, CrIs).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.