[Stable] Saves output from estimate_infections to a target directory.

save_estimate_infections(
  estimates,
  target_folder = NULL,
  samples = TRUE,
  return_fit = TRUE
)

Arguments

estimates

List of data frames as output by estimate_infections

target_folder

Character string specifying where to save results (will create if not present).

samples

Logical, defaults to TRUE. Should samples be saved

return_fit

Logical, defaults to TRUE. Should the fit stan object be returned.

See also

estimate_infections