Description Usage Arguments Details Value
rtPupalEmergenceGrid
moves pupae of both sexes from the oldest pupal age class to the youngest adult age class.
1 | rtPupalEmergenceGrid(aGrid, aGridPup, iPupDurF = 26, iPupDurM = 28)
|
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 |
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
a list containing aGrid, aGridPup
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.