Learn R Programming

DLMtool (version 5.0)

SRAsim: Simulates catch at age and catch history data for testing SRA methods

Description

Catch at age and catch simulator.

Usage

SRAsim(OM, qmult = 0.5, patchy = 0.2, nCAA = 100, sigmaE = 0.25)

Arguments

OM

An operating model object with M, growth, stock-recruitment and maturity parameters specified.

qmult

Fraction of natural mortality rate that is mean fishing mortality (Fishing catchability multiplier)

patchy

The fraction of years that have catch at age data

nCAA

The number of independent annual catch at age observations (same among all years)

sigmaE

Level of simulated interannual variability in effort (F) expressed as a lognorma SD

Value

A list: Chist = historical catch series,Recdevs = historical recruitment deviations (mean = 1), CAA = catch at age matrix, N = numbers at age matrix, SSB = annual spawning biomass, FM = Fishing mortality rate at age matrix, M = natural mortality rate classy

Examples

Run this code
# NOT RUN {
out<-SRAsim(testOM)
# }

Run the code above in your browser using DataLab