And other internal related functions
genSizeCompWrap(i, vn, CAL_binsmid, retL, CAL_ESS, CAL_nsamp, Linfarray,
Karray, t0array, LenCV, truncSD = 2)getfifth(lenvec, CAL_binsmid)
Simulation number
Array of vulnerable numbers
Mid-points of CAL bins
Array of retention-at-length
CAL effective sample size
CAL sample size
Matrix of Linf
Matrix of K values
Matrix of t0 values
Vector of LenCV
Numeric. Number of standard deviations to truncate normal d distribution
Vector of lengths
Generated length composition from genSizeComp
getfifth
: Internal function to calculate fifth percentile of size composition