LSRA2: Alternative version of LSRA that's a wrapper for LSRA_opt to...

Description Usage Arguments Value Author(s)

View source: R/StochasticSRA.R

Description

Alternative version of LSRA that's a wrapper for LSRA_opt to return the right type of output (mode) using sapply

Usage

1
LSRA2(x, lnR0s, FF, Chist, M, Mat_age, Wt_age, sel, Recdevs, h, mode = 2)

Arguments

x

a position in the various arrays and vectors that corresponds with a simulation (for use with sapply)

lnR0s

a vector nsim long that are estimated R0 values

FF

a vector of recent fishign mortality rates (apical Fs)

Chist

a vector of historical catch observations [nyears]

M

a vector of natural mortality rates [nsim]

Mat_age

a matrix of maturity at age [nsim x nage]

Wt_age

a matrix of weight at age [nsim x nage]

sel

a matrix of selectivity at age [nsim x nage]

Recdevs

a matrix of recruitment deviations [nsim x nyears]

h

a vector of steepness values of the Bev-Holt Stock-Recruitment relationship

mode

optimization or plotting

Value

all package data objects are placed in the global namespace dir

Author(s)

T. Carruthers


DLMtool/DLMtool documentation built on June 20, 2021, 5:20 p.m.