Learn R Programming

EMC2 (version 3.1.0)

merge_chains: Merge Samples

Description

Merges samples from all chains as one unlisted object.

Usage

merge_chains(emc)

Value

An unlisted emc object with all chains merged

Arguments

emc

An emc object, commonly the output of fit()

Details

Note that all sampling stages are included in the merged output, including iterations from the preburn, burn, and adapt stages. merge_chains(emc)$samples$stage shows the corresponding sampling stages.