run_metapop_simulation.Rd
Run a metapopulation model
run_metapop_simulation(
timesteps,
parameters,
correlations = NULL,
mixing_tt,
export_mixing,
import_mixing,
p_captured_tt,
p_captured,
p_success
)
the number of timesteps to run the simulation for (in days)
a list of model parameter lists for each population
a list of correlation parameters for each population (default: NULL)
a vector of time steps for each mixing matrix
a list of matrices of coefficients for exportation of infectivity. Rows = origin sites, columns = destinations. Each matrix element describes the mixing pattern from destination to origin. Each matrix element must be between 0 and 1. Each matrix is activated at the corresponding timestep in mixing_tt
a list of matrices of coefficients for importation of infectivity.
a vector of time steps for each p_captured matrix
a list of matrices representing the probability that
travel between sites is intervened by a test and treat border check.
Dimensions are the same as for export_mixing
the probability that an individual who has tested positive (through an RDT) successfully clears their infection through treatment
a list of dataframe of model outputs as in run_simulation