Description Usage Arguments Value Author(s) See Also Examples
This function takes the results from runMCMC
and modifies the chains of posterior samples for burn-in and thinning.
1 | cutChain(res, chain.ind=2:4, burnin, thinning)
|
res |
a list with elements containing the posterior samples of latent variables and parameters; usually the output from |
chain.ind |
the index of elements in "res" that will be modified |
burnin |
the number for burn-in |
thinning |
the number for thining |
A list with elements containing the modified posterior samples.
Liang Jing ljing918@gmail.com
runMCMC
, runMCMC.multiChain
, mixChain
.
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.