Run simulation using the endosymbiont model
Usage
endosim(
Pest,
Endosymbiont,
Crop,
Parasitoid = NULL,
init,
conds,
plot = TRUE,
progress = TRUE,
vert_trans = FALSE,
hori_trans = FALSE,
imi = FALSE,
emi = FALSE,
para = FALSE
)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- plot
if
TRUE(default) generate plots- progress
if
TRUE(default) print progress bar- vert_trans
set to
TRUEto turn on vertical transmission- hori_trans
set to
TRUEto turn on horizontal transmission- imi
set to
TRUEto turn on immigration into paddock- emi
set to
TRUEto turn on emigration from paddock- para
set to
TRUEto turn on parasitoids
Value
object of class endosim_mod; see endosim_mod.
Details
Constructs the endosymbiont model using the provided pest, endosym, crop,parasitoid, initial, and sim_conds objects.
The Pest species feeds on the provided Crop.
Vertical and horizontal transmission of endosymbiont are defined using functions in the Endosymbiont.
Parasitism rates are defined usined functions in the Parasitoid.
