optQ_multi: Optimize q for a single simulation

Description Usage Arguments Author(s)

View source: R/Single_stock_multi_q_REDUNDANT.R

Description

Optimize q for a single simulation

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
optQ_multi(
  par,
  depc,
  SSB0c,
  nareas,
  maxage,
  Ncurr,
  pyears,
  M_age,
  MatAge,
  Asize_c,
  WtAge,
  Vuln,
  Retc,
  Prec,
  movc,
  SRrelc,
  Effind,
  Spat_targc,
  hc,
  R0c,
  SSBpRc,
  aRc,
  bRc,
  maxF,
  MPAc,
  CFc,
  useCPP,
  mode = "opt"
)

Arguments

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

MatAge

Maturity-at-age

Asize_c

Numeric vector (length nareas) with size of each area

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

useCPP

Logical. Use the CPP code?

logQ

log q

MPA

A matrix of spatial closures by year

model

Character 'opt' is optimization and returns an objective funciton to be minimized, anything else returns fitted values

Author(s)

A. Hordyk


tcarruth/MSEtool documentation built on Oct. 19, 2020, 6:09 a.m.