Description Usage Arguments Value Examples
simple logistic model to change vector population based on growth rate, K, insecticide and resistance
| 1 2 3 | change_pop_oldcc(pop, rate_growth, carry_cap, insecticide_kill, resist_freq,
  resistance_modifier, insecticide_on, resistance_on, randomness = 0,
  never_go_below = 0.01)
 | 
| pop | vector population in this timestep | 
| rate_growth | population growth rate | 
| carry_cap | carrying capacity (K) in the logistic model | 
| insecticide_kill | kill rate due to insecticide | 
| resist_freq | frequency of resistance | 
| resistance_modifier | modifies effect of resistance | 
| 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 | 
| never_go_below | restock at this level if pop goes below it | 
float population in next timestep
| 1 | change_pop_oldcc(pop=0.5, rate_growth=0.4, carry_cap=1, insecticide_kill=0.4, resist_freq=0.2, resistance_modifier=1, resistance_on=1, insecticide_on=1)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.