prepare_pars | R Documentation |
Prepare a list of parameters of appropriate dimension. Otherwise
uninitialized parameter starting values are set to zeros except kappa and
tau, which use a correlation range of 50 (half the domain) and marginal
variance of 1, tranformed to the kappa and tau parameterization. Initial
estimates of fixed effects can be estimated using GLMs with the
init_fixef = TRUE
argument. This is recommended.
prepare_pars(data, mesh, init_fixef = FALSE)
data |
Data list, as from |
mesh |
SPDE mesh |
init_fixef |
Use GLMs to estimate fixed effect parameters for abundance and catchability in both numbers density and weight per group processes |
List with scalar, vector, or matrices of zeros as starting values for optimization
John Best
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.