Learn R Programming

DLMtool (version 5.0)

popdyn: Population dynamics model

Description

Population dynamics model

Usage

popdyn(nareas, maxage, Ncurr, pyears, M_age, Asize_c, MatAge, WtAge, Vuln, Retc,
  Prec, movc, SRrelc, Effind, Spat_targc, hc, R0c, SSBpRc, aRc, bRc, Qc,
  Fapic = NULL, maxF, control = 1)

Arguments

nareas

Integer. The number of spatial areas

maxage

Integer. The maximum age

Ncurr

Numeric matrix (dimensions maxage, nareas) with the current N-at-age

pyears

Integer. Number of years to project the model forward

M_age

Numeric matrix (dimensions maxage, pyears) with natural mortality at age

Asize_c

Numeric vector (length nareas) with size of each area

MatAge

Numeric matrix (dimensions maxage, nyears+proyears) with proportion mature for each age-class

WtAge

Numeric matrix (dimensions maxage, pyears) with weight-at-age

Vuln

Numeric matrix (dimensions maxage, pyears) with proportion vulnerable-at-age

Retc

Numeric matrix (dimensions maxage, pyears) with proportion retained-at-age

Prec

Numeric vector (length pyears) with recruitment error

movc

Numeric matrix (dimensions nareas, nareas) with movement matrix

SRrelc

Integer. Stock-recruitment curve

Effind

Numeric vector (length pyears) with the fishing effort by year

Spat_targc

Integer. Value of spatial targetting

hc

Numeric. Steepness of stock-recruit relationship

R0c

Numeric vector of length nareas with unfished recruitment by area

SSBpRc

Numeric vector of length nareas with unfished spawning per recruit by area

aRc

Numeric. Ricker SRR a value

bRc

Numeric. Ricker SRR b value

Qc

Numeric. Catchability coefficient

Fapic

Numeric. Apical F value

maxF

A numeric value specifying the maximum fishing mortality for any single age class

control

Integer. 1 to use q and effort to calculate F, 2 to use Fapic (apical F) and vulnerablity to calculate F.

Value

A named list of length 8 containing with arrays (dimensions: maxage, pyears, nareas) containing numbers-at-age, biomass-at-age, spawning stock numbers, spawning biomass, vulnerable biomass, fishing mortality, retained fishing mortality, and total mortality