Wrapper function to compute statistics of bootstrap resampling of age and length composition.
comp_stats(
r_age,
oga,
r_length,
ogl,
specimen_data,
lfreq_data,
survey_region = NULL
)
list of replicated abundance at age
original abundance at age (computed with data that has not been resampled)
list of replicated abundance at length
original abundance at length (computed with data that has not been resampled)
age-length specimen input dataframe
length frequency input dataframe
overall region, i.e., goa, ai, ebs, nbs... If defined, will compute statistics for spatially-explicit results. (default = NULL)
list of dataframes for realized sample size by replicate (.rss_age for age composition, .rss_length for length composition), input sample size (.iss_age for age composition, .iss_length for length composition), bias in resampled comp data compared to original values (.bias_age for age composition, .bias_length for length composition), and mean length-at-age (.mean_length, computed ala gapindex package)