Learn R Programming

DLMtool (version 4.4.1)

getq2: Optimization function that find the catchability (q where F=qE) value required to get to user-specified stock depletion (current biomass / unfished biomass) modified for Rcpp

Description

The user specifies the level of stock depleiton. This funciton takes the derived effort trajectories and finds the catchabiltiy to get the stock there.

Usage

getq2(x, dep, Find, Perr, M_ageArray, hs, Mat_age, Wt_age, R0, V, nyears,
  maxage, mov, Spat_targ, SRrel, aR, bR, bounds = c(1e-05, 15))

Arguments

x

internal parameter

dep

internal parameter

Find

internal parameter

Perr

internal parameter

hs

internal parameter

Mat_age

internal parameter

Wt_age

internal parameter

R0

internal parameter

V

internal parameter

nyears

internal parameter

maxage

internal parameter

mov

internal parameter

Spat_targ

internal parameter

SRrel

internal parameter

aR

internal parameter

bR

internal parameter

bounds

upper and lower bounds for optimizer

Paired with qopt

Marray

internal parameter