Description Usage Arguments Value Examples
simple simulation of vector population based upon emergence suggested by Nakul Chitnis
1 2 3 4 | change_pop(pop, survival, emergence, insecticide_kill = 0.5,
resist_freq = 0, resistance_modifier = 1, resist_intensity = 10,
insecticide_on = 0, resistance_on = 0, randomness = 0,
verbose = FALSE)
|
pop |
vector population in this timestep |
survival |
adult survival rate |
emergence |
emerging adults, can be a vector can be greater than 1 |
insecticide_kill |
kill rate due to insecticide |
resist_freq |
ferquency of resistance |
resistance_modifier |
modifies effect of resistance (unlikely to be used in game) |
resist_intensity |
intensity of resistance 1,2,5 & 10 fold |
insecticide_on |
whether insecticide is applied 0=no, 1=yes |
resistance_on |
whether there is resistance to the applied insecticide 0=no, 1=yes |
randomness |
0-1 0=none, 1=maximum |
verbose |
whether to output diagnostics to console |
float population in next timestep
1 2 | change_pop(pop=0.5, survival=0.4, emergence=1, insecticide_kill=0.4, resist_freq=0.2, resistance_modifier=1, resistance_on=1, insecticide_on=1, verbose=TRUE)
change_pop(pop=0.5, survival=0.7, emergence=0.3, insecticide_kill=0.4, resistance_on=0, insecticide_on=1, verbose=TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.