powered by
Combines samples of two MCMC objects (with the same parameters, chains and iterations) using a function.
combine_samples(x, x2, fun = mean, ...)
An MCMC object.
a second MCMC object.
The function to use to combine the samples. The function must return a scalar.
Unused.
The combined samples as an MCMC object with the same parameters, chains and iterations as the original objects.
Other combine: combine_dimensions(), combine_samples_n()
combine_dimensions()
combine_samples_n()
# NOT RUN { combine_samples(mcmcr_example, mcmcr_example, fun = sum) # }
Run the code above in your browser using DataLab