View source: R/poolMcmcChains.R
poolMcmcChains | R Documentation |
Combines a list of single or several MCMC chains into a single chain
poolMcmcChains(postList, chainIndex = 1:length(postList), start = 1, thin = 1)
postList |
list of posterior chains |
chainIndex |
index of chains to be included |
start |
index of first MCMC sample included |
thin |
thinning between included MCMC samples |
a list with combined MCMC samples
# Combine the posteriors from all chains in a Hmsc object postList = TD$m$postList pooledPost = poolMcmcChains(postList)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.