Description Usage Arguments Details Examples
View source: R/make_tmb_data.R
Prepares data for use in APAM. No inputs need to be changed to run the default model (see details).
1 2 3 4 5 6 7 8 9 |
do.retro |
(optional) T/F, turn on/off option to change retro year? Default = |
retro.year |
(optional) numeric, defines end year for retros if needed. Default = |
M.split |
(optional) T/F, turn on/off M increase for years 1989-1996? Default = |
M.matrix |
(optional) a matrix to manually define M assumption. Default = |
C.bounds |
(optional) a vector to manually define landings upper bounds; Default = |
sdL |
(optional) a positive scalar to manually defined landings sd ; Default = |
d |
(optional) a vector to turn on/off d for use in |
M.matrix
M.matrix has dimensions nrow=nyears and ncol=nages; M = 0.5 for ages 1-3, 0.3 for age 4 and 0.2 for ages 5+.
M.split
if TRUE
, M.matrix = M.matrix + 0.33
for years 1989-1996.
C.bounds
vector of length 3; Default C.bounds = (2,1.2,1.5)
for high, low, and moderate uncertainty.
sdL
default sd landings = 0.05
d
Numeric vector of length(nyears*nages) of 0's.
1 2 3 4 5 6 7 | ## Not run:
tmb.data <- make.tmb.data()
#model with no M split
tmb.data.ns = make.tmb.data(M.split=FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.