Description Usage Arguments Value Author(s) See Also Examples
This function mix parallel chains into one chain.
1 | mixChain(res.m.prl)
|
res.m.prl |
a list with each element containing the result of posterior samples from one CPU; the elements shoul only contain the Markov chains of posterior samples (while "AccRate" is eliminated when using |
A list with elements containing the mixed posterior samples.
Liang Jing ljing918@gmail.com
1 2 3 4 5 6 7 | ## Not run:
res.prl <- runMCMC.multiChain(Y, L=0, loc=loc, X=loc,
MCMCinput = input, n.chn = 5)
res.m.prl <- lapply(res.prl, cutChain, chain.ind=1:4, burnin=200, thining=20)
res.mix <- mixChain(res.m.prl)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.