Optimize yield for a single simulation
optMSY(logFa, Asize_c, nareas, maxage, Ncurr, pyears, M_age, MatAge, WtAge,
Vuln, Retc, Prec, movc, SRrelc, Effind, Spat_targc, hc, R0c, SSBpRc, aRc,
bRc, Qc, MPA, maxF, SSB0c, plusgroup = 0)
log apical fishing mortality
A vector of length areas with relative size of areas
Number of area
Maximum age
Current N-at-age
Number of projection years
M-at-age
Maturity-at-age
Weight-at-age
Vulnerablity-at-age
Retention-at-age
Recruitment error
Movement matrix
SR Relationship
Historical effort
Spatial targeting
Steepness
Unfished recruitment by area
Unfished spawning stock per recruit by area
Ricker aR
Ricker bR
Catchability
A matrix of spatial closures by year
A numeric value specifying the maximum fishing mortality for any single age class
SSB0
Integer. Default = 0 = no plus-group. Use 1 to include a plus-group