merge_chains: Merge Samples

View source: R/objects.R

merge_chainsR Documentation

Merge Samples

Description

Merges samples from all chains as one unlisted object.

Usage

merge_chains(emc)

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.

Value

An unlisted emc object with all chains merged


EMC2 documentation built on April 11, 2025, 5:50 p.m.