Generate an age composition vector based on a survey occurring halfway through the year, and for which ageing error may exist.

simulate_ac(naa, sel, aggregate_sex = FALSE)

Arguments

naa

numbers-at-age vector

sel

selectivity-at-age vector

aggregate_sex

whether to return sex-aggregated comps or not (default FALSE