SSgetMCMC | R Documentation |
Reads the MCMC output (in the posteriors.sso and derived_posteriors.sso files) from a model.
SSgetMCMC( dir = NULL, verbose = TRUE, writecsv = FALSE, postname = "posteriors.sso", derpostname = "derived_posteriors.sso", csv1 = "keyposteriors.csv", csv2 = "nuisanceposteriors.csv", keystrings = c("NatM", "R0", "steep", "RecrDev_2008", "Q_extraSD"), nuisancestrings = c("Objective_function", "SSB_", "InitAge", "RecrDev"), burnin = 0, thin = 1 )
dir |
Directory containing MCMC output. |
verbose |
TRUE/FALSE switch to get more or less information about the progress of the function. |
writecsv |
Write key parameters and certainty nuisance quantities to a CSV file. |
postname |
Name of file with parameter posteriors (default matches "posteriors.sso" used by SS, but the user could change the name) |
derpostname |
Name of file with parameter posteriors (default matches "derived_posteriors.sso" used by SS, but the user could change the name) |
csv1 |
First CSV file for key parameters. |
csv2 |
Second CSV file for nuisance quantities. |
keystrings |
Vector of strings that partially match parameter names to
write to the file csv1. This file intended to feed into
|
nuisancestrings |
Vector of strings that partially match derived
quantity names to write to the file csv2. This file intended to feed into
|
burnin |
Optional burn-in value to apply on top of the option in the starter file. |
thin |
Optional thinning value to apply on top of the option in the
starter file and in the |
Ian Taylor
mcmc.out()
, mcmc.nuisance()
,
SSplotPars()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.