Function that plots composition Input Sample Size results for AFSC stock assessments

plot_ISS(species, region = "goa", comp = "age", sex_cat = 4, spec_case = NULL)

Arguments

species

AFSC species code

region

survey region. options are 'ai', 'ebs', 'ebs_slope', 'goa', and 'nebs' (default = 'goa')

comp

type of composition for which ISS desired. options are 'age', 'length', and 'caal'

sex_cat

sex category for which composition ISS desired. options are 0 (sexes combined pre-expansion), 1 (males), 2 (females), 12 (males-female comp that sums to 1), and 4 (sexes combined post-expansion) (default = 4)

spec_case

description string if getting ISS for special case. options are 'ai_subreg', 'bsre', 'dr', 'rebs', 'w_c_egoa', 'w140', 'wc_egoa' (default = NULL)

Value

a dataframe of composition ISS