set_NAA | R Documentation |
Specify model and parameter configuration for numbers at age
set_NAA(input, NAA_re = NULL)
input |
list containing data, parameters, map, and random elements (output from |
NAA_re |
(optional) list specifying options for numbers-at-age random effects, initial parameter values, and recruitment model (see details) If
|
a named list with same elements as the input provided with abundance modeling options modified.
prepare_wham_input
## Not run:
wham.dir <- find.package("wham")
path_to_examples <- system.file("extdata", package="wham")
asap3 <- read_asap3_dat(file.path(path_to_examples,"ex1_SNEMAYT.dat"))
input <- prepare_wham_input(asap3)
NAA = list(sigma = "rec")
input <- set_q(input, NAA_re = NAA) #estimate recruitment as random effects
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.