combine_samples_n {mcmcr} | R Documentation |
Combine MCMC samples of multiple objects
Description
Combines samples of multiple MCMC objects (with the same parameters, chains and iterations) using a function.
Usage
combine_samples_n(x, ..., fun = mean)
Arguments
x |
An MCMC object (or a list of mcmc objects). |
... |
Additional MCMC objects. |
fun |
A function. |
See Also
Other combine:
combine_dimensions()
,
combine_samples()
Examples
combine_samples_n(mcmcr_example, mcmcr_example, mcmcr_example, fun = sum)
[Package mcmcr version 0.6.1 Index]