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

bind_parameters(x, x2, ...)

Arguments

x

an MCMC object

x2

a second MCMC object.

...

Unused.

Examples

bind_parameters(
  subset(mcmcr_example, pars = "sigma"),
  subset(mcmcr_example, pars = "beta")
)
#> $beta
#>           [,1]     [,2]
#> [1,] 0.9716535 1.971654
#> [2,] 1.9716535 2.971654
#> 
#> nchains:  2 
#> niters:  400 
#> 
#> $sigma
#> [1] 0.7911975
#> 
#> nchains:  2 
#> niters:  400 
#>