Description Usage Arguments Value Examples
rt_runGridTestSpread
goes back to more hat-trick like density dependence.
runs a simple spatial popn simulation as a test of phase 2
model components. Concentrates on movement parameters and mortality so that
it can be used to test popn spread under different popn growth rates.
1 2 3 4 5 6 7 8 | rt_runGridTestSpread(nCol = 9, nRow = 7, pMoveF = 0.4, pMoveM = 0.4,
iDays = 4, iMaxAge = 120, iCarryCapF = 200, fMperF = 0.5,
fStartPopPropCC = 1, 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,
report = NULL)
|
nCol |
number grid columns |
nRow |
number grid rows |
pMoveF |
probability of F moving between cells |
pMoveM |
probability of M moving between cells |
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 option "sameAsAdults" to set tot pupae same as tot adults. |
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 |
report |
filename for a report for this run, if not specified no report is produced |
a multi-dimensional array [day,y,x,sex,ages]
1 2 3 4 5 6 7 8 9 | ## Not run:
tst <- rt_runGridTestSpread()
rtPlotMapPop(tst)
#testing unequal MF movement
tst <- rt_runGridTestSpread(iDays=5,pMoveF=0.6,pMoveM=0.3)
rtPlotMapPop(tst, sex='M')
rtPlotMapPop(tst, sex='F')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.