cutChain {geoCount} | R Documentation |
This function takes the results from runMCMC
and modifies the chains of posterior samples for burn-in and thinning.
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
## Not run: res <- runMCMC(Y, L=0, loc=loc, MCMCinput = input ) res.m <- cutChain(res, chain.ind=1:4, burnin=100, thining=10) ## End(Not run)