CollectChains {EntropyMCMC}R Documentation

Collect MCMC chains in a single object

Description

Utility function for the package EntropyMCMC.

Usage

CollectChains(s)

Arguments

s

An object of class plMCMC, such as the one returned by MCMCcopies, containing in particular an array of dimension (n,d,nmc)(n,d,nmc) holding the simulation of nn steps of nmcnmc parallel chains in dimension dd.

Details

Concatenates all simulated copies together in one matrix of dimension (n*nmc,d).

Value

Returns a matrix of dimension (n*nmc,d).

Author(s)

Didier Chauveau.


[Package EntropyMCMC version 1.0.4 Index]