Skip to contents

Merges samples from all chains as one unlisted object.

Usage

merge_chains(emc)

Arguments

emc

An emc object, commonly the output of fit()

Value

An unlisted emc object with all chains merged

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.