The function has been adapted from a similar function in the epinowcast package (Copyright holder: epinowcast authors, under MIT License).
epinow2_cmdstan_model(
model = "estimate_infections",
dir = system.file("stan", package = "EpiNow2"),
verbose = FALSE,
...
)A cmdstanr model.
A character string indicating the model to use. Needs to be
present in dir (with extension .stan). Defaults to "estimate_infections".
A character string specifying the path to any stan files to include in the model. If missing the package default is used.
Logical, defaults to TRUE. Should verbose
messages be shown.
Additional arguments passed to cmdstanr::cmdstan_model().