Description Usage Arguments Value
View source: R/1_gen_params_function.R
Handles setting up the dimensional variables and drawing random quantities for driving the operating model and observation.
1 2 3 |
nt |
Numeric vector of length 1: the number of calendar years with observations to simulate |
a_min |
Numeric vector of length 1: youngest age at maturity |
a_max |
Numeric vector of length 1: oldest age at maturity |
U_msy |
Numeric vector storing U_msy for each stock to simulate |
S_msy |
Same as |
U_SUM |
Numeric vector of length 1: beta sample size of implementation error |
phi |
Numeric vector of length 1: the autocorrelation coefficient for recruitment residuals. Set to zero to turn off the AR(1) process |
pi_grand |
Average maturity schedule across all stocks and years. Must have the same length as
suggested by the number of ages of maturity calculated from supplied arguments |
min_S_cv |
Numeric vector of length 1: smallest observation CV for any substocks's escapement. |
max_S_cv |
Numeric vector of length 1: largest observation CV for any substocks's escapement. |
min_C_cv |
Numeric vector of length 1: smallest observation CV for any year's total harvest. |
max_C_cv |
Numeric vector of length 1: largest observation CV for any year's total harvest. |
x_ESS |
Numeric vector of length 1: the effective sample size for scale sampling on stocks that have age data. |
List object with elements needed to drive many of the other functions in this package
via the params
argument.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.