R/model-module-helpers.R
latest_obs_as_matrix.Rd
Convert latest observed data to a matrix
latest_obs_as_matrix(latest)
latest data.frame output from enw_preprocess_data().
latest
data.frame
enw_preprocess_data()
A matrix with each column being a group and each row a reference date
Helper functions for model modules add_max_observed_delay(), add_pmfs(), convolution_matrix(), enw_dayofweek_structural_reporting(), enw_reference_by_report(), enw_reps_with_complete_refs(), enw_structural_reporting_metadata(), extract_obs_metadata(), extract_sparse_matrix()
add_max_observed_delay()
add_pmfs()
convolution_matrix()
enw_dayofweek_structural_reporting()
enw_reference_by_report()
enw_reps_with_complete_refs()
enw_structural_reporting_metadata()
extract_obs_metadata()
extract_sparse_matrix()