Simulate from the inbuilt SIMPLEGEN transmission model. Model parameters are taken from the epi_model_parameters slot of the project, and the sampling strategy is taken from the epi_sampling_parameters slot. Outputs are written to the epi_output slot.

sim_epi(
  project,
  max_time = 365,
  save_transmission_record = FALSE,
  transmission_record_location = "",
  overwrite_transmission_record = FALSE,
  pb_markdown = FALSE,
  silent = FALSE
)

Arguments

project

a SIMPLEGEN project, as produced by the simplegen_project() function.

max_time

run simulation for this many days.

save_transmission_record

whether to write the transmission record to file.

transmission_record_location

the file path to the transmission record.

overwrite_transmission_record

if TRUE the transmission record will overwrite any existing file by the same name. FALSE by default.

pb_markdown

whether to run progress bars in markdown mode, meaning they are only updated when they reach 100 being printed to markdown files.

silent

whether to suppress written messages to the console.