rtPupalEmergenceGrid: tsetse pupal emergence on a grid

Description Usage Arguments Details Value

Description

rtPupalEmergenceGrid moves pupae of both sexes from the oldest pupal age class to the youngest adult age class.

Usage

1
rtPupalEmergenceGrid(aGrid, aGridPup, iPupDurF = 26, iPupDurM = 28)

Arguments

aGrid

an array with the age distributions of males & females [y,x,sex,age]

aGridPup

an array with the age distributions of pupal males & females [y,x,sex,age]

iPupDurF

days it takes pupa(F) to develop

iPupDurM

days it takes pupa(M) to develop

Details

pupal emergence needs to come from the number of pupae in the ground of the appropriate age

Initially just gets the number of pupae from the final age class of the passed vector. Sets the number in that final age class to 0 at the same time Would be less code if not in a function ... Want to allow for it being more complex in future ... Can get it to return vectors of both pupae & adults

Value

a list containing aGrid, aGridPup


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