Combines multiple MCMC objects (with the same parameters, chains and iterations) by parameter dimensions.

bind_dimensions(x, x2, along = NULL, ...)

Arguments

x

An MCMC object.

x2

a second MCMC object.

along

A count (or NULL) indicating the parameter dimension to bind along.

...

Unused.

Examples

bind_dimensions(mcmcr_example, mcmcr_example)
#> $alpha
#>          [,1]     [,2]
#> [1,] 3.718025 3.718025
#> [2,] 4.718025 4.718025
#> 
#> nchains:  2 
#> niters:  400 
#> 
#> $beta
#> , , 1
#> 
#>           [,1]     [,2]
#> [1,] 0.9716535 1.971654
#> [2,] 1.9716535 2.971654
#> 
#> , , 2
#> 
#>           [,1]     [,2]
#> [1,] 0.9716535 1.971654
#> [2,] 1.9716535 2.971654
#> 
#> 
#> nchains:  2 
#> niters:  400 
#> 
#> $sigma
#>           [,1]      [,2]
#> [1,] 0.7911975 0.7911975
#> 
#> nchains:  2 
#> niters:  400 
#>