Optimize yield for a single simulation
optMSY(logFa, nareas, maxage, Ncurr, pyears, M_age, MatAge, WtAge, Vuln, Retc,
Prec, movc, SRrelc, Effind, Spat_targc, hc, R0c, SSBpRc, aRc, bRc, Qc, maxF,
useCPP = TRUE)
log apical fishing mortality
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 numeric value specifying the maximum fishing mortality for any single age class
logical - use the CPP code? For testing purposes only