collapse_chains.mcmc {nlist}R Documentation

Collapse Chains

Description

Collapses an MCMC object's chains into a single chain.

Usage

## S3 method for class 'mcmc'
collapse_chains(x, ...)

Arguments

x

An object.

...

Other arguments passed to methods.

Details

As mcmc objects can only have 1 chain the object is unchanged.

Value

The modified object with one chain.

See Also

Other collapse: collapse_chains.nlists(), collapse_chains.nlist()

Examples

collapse_chains(as_mcmc(nlist(x = 2)))

[Package nlist version 0.3.3 Index]