set_age_comp | R Documentation |
Specify the age composition models for fleet(s) and indices.
set_age_comp(input, age_comp)
input |
list containing data, parameters, map, and random elements (output from |
age_comp |
specifies the age composition models for fleet(s) and indices. If The age composition models available are:
Dirichlet, treating zero observations as missing. 1 parameter.
.
The two Dirichlet-multinomial options will only differ when input-sample-size differs among years. In these cases, the linear-Dirichlet multinomial is designed to decrease the effective sample size in each year by approximately the same proportion, while the saturating-Dirichlet multinomial will decrease the years with highest input-sample-size much more than those with lower input-sample-size.
One-step-ahead residuals will be calculated for all but options 8-10 when
|
a named list with same elements as the input provided with age composition likelihood 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)
input <- set_age_comp(input, age_comp = "logistic-normal-miss0") #no longer multinomial
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.