Project selectivity
Usage
project_selectivity(
data,
obj,
mcmc = NULL,
first_yr = 2021,
last_yr = 2035,
samp_years = 2015:2022,
iters
)Arguments
- data
A
listcontaining model data including dimensions and biological parameters.- obj
A TMB model
objectreturned fromMakeADFun.- mcmc
Optional MCMC fit object from
SparseNUTS. IfNULL, uses MLE parameters.- first_yr
An
integerspecifying the first projection year (default: 2021).- last_yr
An
integerspecifying the last projection year (default: 2035).- samp_years
An
integervector of historical years to sample selectivity from (default: 2015:2022).- iters
An
integervector specifying which MCMC iterations to use.
