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

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

Arguments

x

An object.

...

Other arguments passed to methods.

Value

The modified object with one chain.

Details

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

See also

Examples

collapse_chains(nlist(x = 2))
#> $x
#> [1] 2
#> 
#> an nlist object with 1 numeric element