texmiller / cholla_climate_IPM

Data analysis and demographic modeling to project climate-dependent population dynamics of tree cholla cacti
1 stars 1 forks source link

Bug in code: RFX timing #7

Closed texmiller closed 4 years ago

texmiller commented 4 years ago

Found a bug! The simulations that are generating year-specific estimates of lambda including random effects were using incorrect timing of RFX. Flowering and fertility RFX should be called from the preceding year, just as they are for climate-dependence.

texmiller commented 4 years ago

I fixed the code but will need to re-draw backcasting figure because the lambda_RFX values are a little different now and %variance explained by climate is different.