Description Usage Arguments Value
calcInitVals
computes initial values for MCMC algorithm used to compute the posterior distribution for the model parameters.
1 | calcInitVals(mlEst, dat, input, bdat, sims = NULL)
|
mlEst |
The maximum likelihood estimate for the four SR parameters: log(prod), log(capacity), log(msCoef), log(flowCoef). Output from findOptimum(). |
dat |
data from the A & P file |
input |
a list with the other values needed for a DM run. The following are examples naturalMort, analysisType = "DM", SRfunction, includeMarineSurvival, includeFlow |
bdat |
The in a format appropriate for JAGS implementation of the model. |
sims |
MCMC simulations from a previous fit. If sims=NULL all initial values are based on estimates derived from the data. |
A list with initial values for prod (production), logCap (log capacity), msCoef (the coefficient for marine survival), flowCoef (the coeficient for stream survival), rMu and maturationRate_logit.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.