change_pop_oldcc: change vector population based on old carrying capacity...

Description Usage Arguments Value Examples

Description

simple logistic model to change vector population based on growth rate, K, insecticide and resistance

Usage

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)

Arguments

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

Value

float population in next timestep

Examples

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)

AndySouth/resistanceGame documentation built on May 5, 2019, 6:01 a.m.