set_M | R Documentation |
Specify model and parameter configuration for natural mortality
set_M(input, M)
input |
list containing data, parameters, map, and random elements (output from |
M |
(optional) list specifying natural mortality options: model, random effects, initial values, and parameters to fix (see details)
|
a named list with same elements as the input provided with natural mortality 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)
M = list(mean_model = "estimate-M")
input <- set_q(input, M = M) #estimate a constant M parameters
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.