poolMcmcChains {Hmsc}R Documentation

poolMcmcChains

Description

Combines a list of single or several MCMC chains into a single chain

Usage

poolMcmcChains(postList, chainIndex = 1:length(postList), start = 1, thin = 1)

Arguments

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

Value

a list with combined MCMC samples

Examples

# Combine the posteriors from all chains in a Hmsc object
postList = TD$m$postList
pooledPost = poolMcmcChains(postList)


[Package Hmsc version 3.0-13 Index]