getBugsOutput {rbugs} | R Documentation |
Collect the MCMC samples from BUGS.
getBugsOutput(n.chains, workingDir, linbugs = TRUE)
n.chains |
The number of chains BUGS had run. |
workingDir |
A character string specifying the name of the directory where the output files are saved. |
linbugs |
If TRUE, linbugs is used. |
This function assumes that under \workingDir
, there is a coda
index file ‘codaIndex.txt’, and the coda output for
n.chains
chains are named as coda1.txt, coda2.txt, ...
A list of matrix whose columns and rows contain the monitored parameters and the MCMC iterations, respectively.
Jun Yan jyan@stat.uiowa.edu