Subset observations data table for either modelled dates or not-modelled earlier dates.
Source:R/postprocess.R
subset_obs.Rd
Subset observations data table for either modelled dates or not-modelled earlier dates.
Arguments
- ord_obs
The observations
data.table
to be subset, as pulled from the result of callingepinowcast()
and coerced to a data table.- max_delay
Whole number representing the maximum delay in units of the timestep.
- internal_timestep
A numeric value representing the number of days in the timestep, e.g. 7 when the timesteps are weeks.
- reference_subset
String giving a relational operator to subset ord_obs by reference date; e.g.
>
to keep the modelled reference dates from after the max_delay.
See also
Functions used for postprocessing of model fits
build_ord_obs()
,
enw_add_latest_obs_to_nowcast()
,
enw_nowcast_samples()
,
enw_nowcast_summary()
,
enw_posterior()
,
enw_pp_summary()
,
enw_quantiles_to_long()
,
enw_summarise_samples()