An in-development R package and a Bayesian hierarchical model jointly fitting multiple "local" wastewater data streams and "global" case count data to produce nowcasts and forecasts of both observations
Currently one long linear function that steps through each component of the model to generate simulated hospital admissions and wastewater data. It is highly complex and hard to follow. It would be easier if each individual module called a function. That way, when you want to change how a module is handled, you can just write a new function for it.
Requirements
[ ] break down getting global and local infection dynamics, generating expected hospital admissions, and generating expected wastewater concentrations into separate modular functions
[ ] call these in the generate_simulated_data.R function
Goal
Currently one long linear function that steps through each component of the model to generate simulated hospital admissions and wastewater data. It is highly complex and hard to follow. It would be easier if each individual module called a function. That way, when you want to change how a module is handled, you can just write a new function for it.
Requirements
generate_simulated_data.R
function