rt_runAspatial: an a-spatial tsetse population simulation, a third test of...

Description Usage Arguments Value Examples

Description

rt_runAspatial runs an a-spatial popn simulation as a test of phase 1 model components. This differs from previous tests in being closer to Hat-trick.
~ uses age-dependent mortalities.
~ tries to start popn. at stable age structure.
rt_runAspatial was developed from rtPhase1Test3

Usage

1
2
3
4
5
6
7
8
rt_runAspatial(iDays = 30, iMaxAge = 120, iCarryCapF = 200,
  fMperF = 0.5, fStartPopPropCC = 1, iStartAdults = 200, iStartAges = 1,
  iStartPupae = 200, pMortF = 0.05, pMortM = 0.05,
  iMortMinAgeStart = 10, iMortMinAgeStop = 50, fMortMinProp = 0.2,
  fMortOldProp = 0.3, propMortAdultDD = 0.25, pMortPupa = 0.25,
  propMortPupaDD = 0.25, iPupDurF = 26, iPupDurM = 28, iFirstLarva = 16,
  iInterLarva = 10, pMortLarva = 0.05, propMortLarvaDD = 0.25,
  plot = FALSE, verbose = TRUE)

Arguments

iDays

days to run simulation

iMaxAge

max age of fly allowed in model (will warn if flies age past this)

iCarryCapF

carrying capacity of adult females

fMperF

numbers of males per female, default 0.5 for half as many M as F

fStartPopPropCC

starting population as a proportion of carrying capacity, default = 1

iStartAdults

number of adults to start simulation with

iStartAges

spread start adults across the first n ages classes

iStartPupae

number of pupae to start simulation with (they get spread across sex&age)

pMortF

adult female mortality on day1, rates on later days are determined by following parameters.

pMortM

adult male mortality on day1, rates on later days are determined by following parameters.

iMortMinAgeStart

Age at which min death rates start.

iMortMinAgeStop

Age at which min death rates stop.

fMortMinProp

What proportion of the maximum death rate on day 0 is the minimum death rate.

fMortOldProp

What proportion of the maximum death rate on day 0 is the death rate after iDeathMinAgeStop.

propMortAdultDD

proportion of adult mortality that is density dependent

pMortPupa

pupal mortality per period

propMortPupaDD

proportion of pupal mortality that is density dependent

iPupDurF

days it takes pupa(F) to develop

iPupDurM

days it takes pupa(M) to develop

iFirstLarva

Age that female produces first larva

iInterLarva

Inter-larval period

pMortLarva

larval mortality per period

propMortLarvaDD

proportion of larval mortality that is density dependent

plot

whether to plot graphs

verbose

whether to output progress messages to console

Value

a list of lots:
dataframes of adult age structure over time dfRecordF & M
dataframes of adult age structure over time dfRecordPupa F & M

Examples

1
2
tst <- rt_runAspatial()
rtPlotPopAndPupae(tst$dfRecordF, tst$dfRecordM, tst$dfRecordPupaF, tst$dfRecordPupaM)

AndySouth/rtsetse documentation built on May 5, 2019, 6:02 a.m.