bradduthie / resevol

BBSRC FAPESP Newton Funded Project to model how the spatial scale of heterogeneity in fungal isolate application and crop plant cultivation affects variation in the selection landscape for biopesticide resistance.
3 stars 0 forks source link

Mean age calculation #35

Closed bradduthie closed 3 years ago

bradduthie commented 3 years ago

It appears that some individuals are being included in the summary statistics if they are dead but not yet removed from the population. This isn't necessarily a bad thing (they'll be removed in the subsequent time step), but maybe best to just not include these individuals when calculating summary statistics for a time step.

bradduthie commented 3 years ago

I've changed my mind on this issue because the dead individuals are having an effect on consumption and reproduction, potentially, because they die at the end of the time step, so best to include them.