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
)
a SIMPLEGEN project, as produced by the
simplegen_project()
function.
run simulation for this many days.
whether to write the transmission record to file.
the file path to the transmission record.
if TRUE
the transmission record
will overwrite any existing file by the same name. FALSE
by default.
whether to run progress bars in markdown mode, meaning they are only updated when they reach 100 being printed to markdown files.
whether to suppress written messages to the console.