Function optimizes catchability (q, where F=qE) required to get to user-specified stock depletion
CalculateQ(x, StockPars, FleetPars, pyears, bounds = c(1e-05, 15), control)
Integer, the simulation number
List of Stock Parameters
List of Fleet Parameters
The number of years to project forward. Equal to 'nyears' for optimizing for q.
A numeric vector of length 2 with bounds for the optimizer
List. Control parameters including optVB=TRUE
to optimize
for vulnerable biomass instead of SSB?