Internal function
CalcInput(y, nyears, proyears, InputRecs, nsim, nareas, LR5_P, LFR_P, Rmaxlen_P,
maxage, retA_P, retL_P, V_P, V2, pSLarray, SLarray2, DR, maxlen, Len_age,
CAL_binsmid, Fdisc, nCALbins, E_f, SizeLim_f, VBiomass_P, Biomass_P,
Spat_targ, FinF, qvar, qs, qinc, CB_P, CB_Pret, FM_P, FM_retain, Z_P,
M_ageArray, LastEffort, LastSpatial, LastAllocat)
Simulation year
Number of historical
Number of projection years
Input control recommendations
Number of simulations
Number of areas
Length at 5 percent retention
Length at full retention
Retention of maximum length
Maximum age
Retention at age
Retention at length
Realized vulnerability at age
Gear vulnerability at age
Realized vulnerability at length
Gear vulnerability at length
Discard ratio
maximum length
Length-at-age
Length-bin mid-points
Fraction of discarded fish that die
Number of length bins
Implementation error on effort recommendation
Implementation error on size limit
Vulnerable biomass-at-age
Biomass-at-age
Spatial targetting
Final fishing effort
Annual ariability in catchability
Catchability
Numeric vector (nsim) increased
Numeric array (nsim, maxage, proyears, nareas) Catch biomass at age
Numeric array (nsim, maxage, proyears, nareas) Retained catch biomass at age
Numeric array (nsim, maxage, proyears, nareas) Fishing mortality at age
Numeric array (nsim, maxage, proyears, nareas) Retained fishing mortality at age
Numeric array (nsim, maxage, proyears, nareas) Total mortality at age
Numeric array (nsim, maxage, nyears+proyears) Natural mortality at age
Numeric vector (nsim) with fishing effort from last year
Numeric matrix (nsim, nareas) with spatial closures from last year
Numeric vector (nsim) with allocation from last year