Function to expand age-length specimen data to population at age aligned with gapindex package.
apop(lpop, agedat, lngs, by_strata = FALSE, global = FALSE)
population at length dataframe created from surveyISS::lpop_gap()
age-length specimen input dataframe
all combinations of possible lengths and ages
Boolean. Are the pop'n data structed by strata or summed to region level? (default = FALSE)
Boolean. Fill in missing length bins with global age-length key? (default = FALSE)
dataframe of population at age by year and species, also includes mean length-at-age and sd in length-at-age