Learn R Programming

DLMtool (version 5.2)

optQ: Optimize q for a single simulation

Description

Optimize q for a single simulation

Usage

optQ(logQ, depc, SSB0c, nareas, maxage, Ncurr, pyears, M_age, Asize_c, MatAge,
  WtAge, Vuln, Retc, Prec, movc, SRrelc, Effind, Spat_targc, hc, R0c, SSBpRc,
  aRc, bRc, maxF, MPA, useCPP)

Arguments

logQ

log q

depc

Depletion value

SSB0c

Unfished spawning biomass

nareas

Number of areas

maxage

Maximum age

Ncurr

Current N-at-age

pyears

Number of years to project population dynamics

M_age

M-at-age

Asize_c

Numeric vector (length nareas) with size of each area

MatAge

Maturity-at-age

WtAge

Weight-at-age

Vuln

Vulnerability-at-age

Retc

Retention-at-age

Prec

Recruitment error by year

movc

movement matrix

SRrelc

SR parameter

Effind

Historical fishing effort

Spat_targc

Spatial targetting

hc

Steepness

R0c

Unfished recruitment by area

SSBpRc

Unfished spawning biomass per recruit by area

aRc

Ricker aR

bRc

Ricker bR

maxF

maximum F

MPA

A matrix of spatial closures by year

useCPP

Logical. Use the CPP code?