Collect MCMC chains in a single object
Utility function for the package EntropyMCMC
.
CollectChains(s)
s
: An object of class plMCMC
, such as the one returned by MCMCcopies
, containing in particular an array of dimension
holding the simulation of steps of parallel chains in dimension .
Concatenates all simulated copies together in one matrix of dimension (n*nmc,d)
.
Returns a matrix of dimension (n*nmc,d)
.
Didier Chauveau.
Useful links