powered by
Combines MCMC object samples by dimensions along along using fun.
along
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_samples_n()
combine_samples()
# NOT RUN { combine_dimensions(mcmcr_example$alpha) # }
Run the code above in your browser using DataLab