Description Usage Arguments Author(s) See Also
Makes four panel plot showing trace plots, moving average, autocorrelations, and densities for chosen parameters from MCMC output.
1 2 3 4 5 6 | mcmc.out(directory = "c:/mydirectory/", run = "mymodel/",
file = "keyposteriors.csv", namefile = "postplotnames.sso",
names = FALSE, headernames = TRUE, numparams = 1, closeall = TRUE,
burn = 0, thin = 1, scatter = FALSE, surface = FALSE, surf1 = 1,
surf2 = 2, stats = FALSE, plots = TRUE, header = TRUE, sep = ",",
print = FALSE)
|
directory |
Directory where all results are located, one level above directory for particular run. |
run |
Directory with files from a particular run. |
file |
File containing posterior samples for key parameters. This could be
written by the function |
namefile |
The (optional) file name of the dimension and names of posteriors. |
names |
Read in names file (T) or use generic naming (F). |
headernames |
Use the names in the header of |
numparams |
The number of parameters to analyze. |
closeall |
By default close all open devices. |
burn |
Optional burn-in value to apply on top of the option in the
starter file and |
thin |
Optional thinning value to apply on top of the option in the
starter file, in the |
scatter |
Can add a scatter-plot of all params at end, default is none. |
surface |
Add a surface plot of 2-way correlations. |
surf1 |
The first parameter for the surface plot. |
surf2 |
The second parameter for the surface plot. |
stats |
Print stats if desired. |
plots |
Show plots or not. |
header |
Data file with header? |
sep |
Separator for data file passed to the |
print |
Send to screen unless asked to print. |
Ian Stewart
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.