Build the ord_obs data.table
.
Arguments
- obs
Observations as pulled from
nowcast$latest[[1]]
.- max_delay
Whole number representing the maximum delay in units of the timestep.
- internal_timestep
The internal timestep in days.
- timestep
The timestep to be used. This can be a string ("day", "week", "month") or a numeric whole number representing the number of days.
- nowcast
If getting posterior samples, a data frame with a `.draws“ column to get the draws from, as pulled from the fit attribute of a nowcast.
See also
Functions used for postprocessing of model fits
enw_add_latest_obs_to_nowcast()
,
enw_nowcast_samples()
,
enw_nowcast_summary()
,
enw_posterior()
,
enw_pp_summary()
,
enw_quantiles_to_long()
,
enw_summarise_samples()
,
subset_obs()