Description Usage Arguments Value Examples
change resistance to one insecticide
1 | change_resistance(resistance, resist_incr, resist_decr, resistance_on)
|
resistance |
resistance rate in this timestep |
resist_incr |
increase in resistance in presence of insecticide |
resist_decr |
decrease in resistance in absence of insecticide |
resistance_on |
whether the insecticide applied prompts resistance 0=no, 1=yes |
float resistance in next timestep
1 | change_resistance(resistance=0.2, resist_incr=0.4, resist_decr=0.2, resistance_on=1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.