run_region( target_region, generation_time, delays, truncation, rt, backcalc, gp, obs, stan, horizon, CrIs, reported_cases, target_folder, target_date, return_output, output, complete_logger, verbose, progress_fn, ... )
Character string indicating the region being evaluated
A list containing the mean, standard deviation of the mean (mean_sd), standard deviation (sd), standard deviation of the standard deviation and the maximum allowed value for the generation time (assuming a gamma distribution).
Numeric, defaults to 7. Number of days into the future to forecast.
Numeric vector of credible intervals to calculate.
A data frame of confirmed cases (confirm) by date (date), and region (
Character string specifying where to save results (will create if not present).
Date, defaults to maximum found in the data if not specified.
Logical, defaults to FALSE. Should output be returned, this automatically updates to TRUE if no directory for saving is specified.
A character vector of optional output to return. Supported options are the individual regional estimates
("regions"), samples ("samples"), plots ("plots"), copying the individual region dated folder into
a latest folder (if
target_folder is not null, set using "latest"), the stan fit of the underlying model ("fit"), and an
overall summary across regions ("summary"). The default is to return samples and plots alongside summarised estimates and
summary statistics. If
target_folder is not NULL then the default is also to copy all results into a latest folder.
Character string indicating the logger to output the completion of estimation to.
Logical defaults to FALSE. Outputs verbose progress messages to the console from
Function as returned by
progressr::progressor. Allows the use of a
Pass additional arguments to
epinow. See the documentation for
epinow for details.
A list of processed output as produced by