Combines two MCMC objects (with the same parameters and chains) by iterations.

# S3 method for class 'mcmc.list'
bind_iterations(x, x2, ...)

Arguments

x

An object.

x2

A second object.

...

Other arguments passed to methods.

Value

The combined object.

See also

Other MCMC manipulations: bind_chains(), collapse_chains(), estimates(), split_chains()

Examples

bind_iterations(as_mcmc_list(nlist(x = 1)), as_mcmc_list(nlist(x = 3)))
#> [[1]]
#> Markov Chain Monte Carlo (MCMC) output:
#> Start = 1 
#> End = 2 
#> Thinning interval = 1 
#>      x
#> [1,] 1
#> [2,] 3
#> 
#> attr(,"class")
#> [1] "mcmc.list"