Function to calculate rss for resampled age composition following McAllister and Ianelli 1997. Will compute rss for regional or spatially-explicit cases automatically.

rss_age(sim_data, og_data)

Arguments

sim_data

list of replicated abundance by age

og_data

original abundance by age