View source: R/prepare_projection.R
prepare_projection | R Documentation |
prepare_projection
is an internal function called by project_wham
,
which in turn is called by fit_wham
if do.proj = TRUE
.
prepare_projection(model, proj.opts, check.version = FALSE)
model |
a previously fit wham model |
proj.opts |
a named list with the following components:
|
check.version |
T/F check whether version WHAM and TMB for fitted model match that of the version of WHAM using for projections. Default = |
same as prepare_wham_input
, a list ready for fit_wham
:
data
Named list of data, passed to TMB::MakeADFun
par
Named list of parameters, passed to TMB::MakeADFun
map
Named list of factors that determine which parameters are estimated, passed to TMB::MakeADFun
random
Character vector of parameters to treat as random effects, passed to TMB::MakeADFun
years
Numeric vector of representing (non-projection) model years of WHAM model
years_full
Numeric vector of representing all model and projection years of WHAM model
ages.lab
Character vector of age labels, ending with plus-group
model_name
Character, name of stock/model (specified in call to prepare_wham_input
)
prepare_wham_input
, project_wham
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.