Description Usage Arguments Details Value Examples
Runs eca.estimate and eca.predict.
1 2 3 |
RecaObj |
as returned from |
nSamples |
number of MCMC samples that will be made available for |
burnin |
number of MCMC samples run and discarded by |
lgamodel |
The length age relationship to use for length-age fits (options: "log-linear", "non-linear": Schnute-Richards model). See documentation for |
fitfile |
name of output files in resultdir. See documentation for |
predictfile |
name of output files in resultdir. See documentation for |
resultdir |
a directory where Reca may store temp-files |
thin |
controls how many iterations are run between each samples saved. This may be set to account for autocorrelation introduced by Metropolis-Hastings simulation. see documentation for |
delta.age |
see documentation for |
seed |
see documentation for |
caa.burnin |
see documentation for |
eca.estimate performs Markov-chain Monte Carlo (MCMC) simulations to determine maximum likelihood of parameters for the given samples.
eca.predict samples the posterior distributions of parameters estimated in eca.estimate,
in order to obtain proportinos of catches and fish parameters.
Using these parameters and the given total landings, predictions of distribution of catch-parameter distributions will be calculated.
If resultdir is NULL, atemporary directory will be created for its purpose. This will be attempted removed after execution. If removal is not successful a warning will be issued which includes the path to the temporary directory.
list() with elements:
as returned by eca.estimate
as returned by eca.predict
list() mapping from Reca covariate encoding to values fed to prepRECA. As on parameter 'RecaObj'
1 | ## Not run: runRECA(prepRECA::recaPrepExample, 500, 500)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.