Function to expand length frequency data to population at length aligned with gapindex package.
lpop(lfreq_un, cpue_data, by_strata = FALSE)
Arguments
- lfreq_un
expanded length frequency data (one row per sample) input dataframe
- cpue_data
catch-per-unit effort input dataframe
- by_strata
Boolean. Are the results to be given at strata level, or summed to region level (default = FALSE)
Value
dataframe of population at length by year and species