Internal function to calculate MSY Reference Points
MSYCalcs(
logF,
M_at_Age,
Wt_at_Age,
Mat_at_Age,
Fec_at_Age,
V_at_Age,
maxage,
relRfun,
SRRpars,
R0x = 1,
SRrelx = 3L,
hx = 1,
SSBpR = 0,
opt = 1L,
plusgroup = 1L,
spawn_time_frac = 0
)
See opt
log fishing mortality
Vector of M-at-age
Vector of weight-at-age
Vector of maturity-at-age
Vector of mature weight-at-age
Vector of selectivity-at-age
Maximum age
Optional. A function used to calculate reference points if SRrelc =3
Optional. A named list of arguments for SRRfun
R0 for this simulation. Set = 1 if SRrelx = 4 for per-recruit calculations
SRR type for this simulation. Use 4 for per-recruit calculations, i.e. constant recruitment.
numeric. Steepness value for this simulation. Not used if SRrelx = 4.
numeric. Unfished spawners per recruit for this simulation. Not used if SRrelx = 4.
Option. 1 = return -Yield, 2= return all MSY calcs
Integer. Default = 0 = no plus-group. Use 1 to include a plus-group
Numeric. Fraction of the year when spawning occurs. Default = 0.