You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this is a "bug", it's a choice to only calculate sumB for the older cohorts, which is why there are several instances in the module were the function is not used and instead we calculate sumB := sum(B) (because we want all the cohorts to be included).
see e.g. line # 32 in age-cohorts.R and line # 1350 in LBMR.R summaryRegen function
Fair, but that means we should test whether you have at least 1 cohort with age > successionTimestep, to avoid calling it and hitting the error. I think anyway.
sumB will become NA, as the subset returns an empty table
The text was updated successfully, but these errors were encountered: