Simulate CAL and calculate length-at-first capture (LFC), mean length (ML), modal length (Lc), and mean length over modal length (Lbar)
simCAL(
nsim,
nyears,
maxage,
CAL_ESS,
CAL_nsamp,
nCALbins,
CAL_binsmid,
vn,
retL,
Linfarray,
Karray,
t0array,
LenCV
)
Number of simulations
Number of years
Maximum age
CAA effective sample size
CAA sample size
number of CAL bins
mid-points of CAL bins
Vulnerable numbers-at-age
Retention at length curve
Array of Linf values by simulation and year
Array of K values by simulation and year
Array of t0 values by simulation and year
CV of length-at-age#'
named list with CAL array and LFC, ML, & Lc vectors