Learn R Programming

DLMtool (version 5.0.2)

getBlow: Blow parallel optimization function

Description

Find the current biomass at which it would take HZN mean generation times to reach Bfrac x SSBMSY biomass level given zero catches

Usage

getBlow(x, SSBMSY, MGThorizon, Find, Perr, M_ageArray, hs, Mat_age, Wt_age, R0,
  V, nyears, maxage, mov, Spat_targ, SRrel, aR, bR, Bfrac = 0.5, ploty = F)

Arguments

x

position in a vector

SSBMSY

vector nsim long of spawning biomass at MSY

MGThorizon

vector nsim long of MGT x HZN

Find

matrix of fishing mortality rate nsim x nyears

Perr

matrix of recruitment devitions nsim x nyears + maxage -1

M_ageArray

array of natural mortality rate nsim x maxage x nyears + proyears

hs

vector nsim long of steepness values

Mat_age

array nsim x nages x nyears+proyears of maturity at age

Wt_age

matrix nsim x nages of weight at age

R0

vector nsim long of unfished recruitment

V

array of vulnerability nsim x maxage x nyears

nyears

integer: number of historical years

maxage

integer: maximum age

mov

array of movement nsim x 2 x 2

Spat_targ

vector of spatial targetting parameters

SRrel

integer representing recruitmetn dynamics type 1: Bev Holt 2: Ricker

aR

vector of recruitment parameters

bR

vector of recruitment parameters

Bfrac

fraction of SSBMSY that is the target

ploty

logical: should a plot be produced