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
I would advocate moving the flag out of get_mcmc_options() (since everything else there is passed directly as a keyword argument to model$sample(). I would think the place it would belong if settable is in get_model_spec() (alongside the include_ww flag.
It is settable:
https://github.com/CDCgov/ww-inference-model/blob/410857b4634d31df7585060082d9c2dc539b7bbf/R/wwinference.R#L245-L274
But
wwinference()
ignores it and setscompute_likelihood = 1
https://github.com/CDCgov/ww-inference-model/blob/410857b4634d31df7585060082d9c2dc539b7bbf/R/wwinference.R#L106-L118
I would advocate moving the flag out of
get_mcmc_options()
(since everything else there is passed directly as a keyword argument tomodel$sample()
. I would think the place it would belong if settable is inget_model_spec()
(alongside theinclude_ww
flag.