sraMSY: sraMSY sets up the input parameters and data for oneSRA

View source: R/cMSY_funs.R

sraMSYR Documentation

sraMSY sets up the input parameters and data for oneSRA

Description

sraMSY sets up the run parameters in terms of input parameter bounds, the number of replicates, and other parameters. Not exported but can be viewed using datalowSA:::sraMSY.

Usage

sraMSY(theta, N, startbd, nyr, ct, yr, mult, maxH, Fyear)

Arguments

theta

a list containing the initial parameter values including the initial r range (2 numbers), the initial k range (2 numbers), the final depletion range (2 numbers), and the recruitment variability

N

the number of replicate searches across the parameter space

startbd

the set of initial starting depletion levels

nyr

the number of years of catch data

ct

the vector of catches per year

yr

the vector of years

mult

a multiplier for K to allow for stock biomasses to rise above K; default value = 1.0, so K is the default upper limit

maxH

upper limit of harvest rate included in the constraints; defaults to 1.0, which implies no upper limit.

Fyear

is the index to the year in which a rnage of harvest rates is to be used to constrina the acceptable trajectories.

Value

a list containing itheta (the vectors of parameters), elltot (a matrix of the yes/no vectors for each initial biomass depletion level), and biomass (the biomass trajectories for each of the N parameter vectors) # theta=parbound;N=n;startbd=startbd;nyr=nyr;ct=ct;yr=yr;mult=multK; maxH=1.0;Fyear=NA


haddonm/datalowSA documentation built on Nov. 5, 2023, 6:40 p.m.