Skip to contents

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

Usage

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.

Value

No return value, called for side effects

See also

estimate_infections

Author

Sam Abbott