collapse_chains.nlist {nlist}R Documentation

Collapse Chains

Description

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

Usage

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

Arguments

x

An object.

...

Other arguments passed to methods.

Details

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

Value

The modified object with one chain.

See Also

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

Examples

collapse_chains(nlist(x = 2))

[Package nlist version 0.3.3 Index]