Combines MCMC object samples by dimensions along along
using fun
.
combine_dimensions(x, fun = mean, along = NULL, ...)
An MCMC object
The function to use when combining dimensions
A positive integer (or NULL) indicating the parameter dimension(s) to bind along.
Unused.
The MCMC object with reduced dimensions.
Other combine:
combine_samples_n()
,
combine_samples()
combine_dimensions(mcmcr_example$alpha)
#> [1] 4.218025
#>
#> nchains: 2
#> niters: 400