Run multiple simulations of the endosymbiont model under different scenarios
Arguments
- Pest
object of class
pestdefining the pest- Endosymbiont
object of class
endosymdefining the endosymbiont- Crop
object of class
cropdefining the crop- Parasitoid
object of class
parasitoiddefining the parasitoid- init
object of class
initialdefining the starting conditions for the simulation- conds
object of class
sim_condsdefining the simulation conditions- modules
list of modules and scenarios to run, if
NULL(default) all fixed to FALSE
Value
object of class endosim_col; see endosim_col.
Details
Uses the endosim function to run simulations of the endosymbiont model. A basic null model is always run, without any modules. The provided pest, endosym, crop,parasitoid, initial, and sim_conds objects are used to parameterise the simulation.
modules should be a list with the following arguments: vert_trans, hori_trans, imi, emi, para. Each argument should be a logical vector, consisting either of FALSE (fixed off), TRUE (fixed on), or c(FALSE, TRUE) (run counterfactual scenarios with module turned on and turned off).
