powered by
Combines samples of multiple MCMC objects (with the same parameters, chains and iterations) using a function.
combine_samples_n(x, ..., fun = mean)# S3 method for default combine_samples_n(x, ..., fun = mean)# S3 method for list combine_samples_n(x, ..., fun = mean)
# S3 method for default combine_samples_n(x, ..., fun = mean)
# S3 method for list combine_samples_n(x, ..., fun = mean)
An MCMC object (or a list of mcmc objects).
Additional MCMC objects.
A function.
default: Combine samples of multiple MCMC objects
default
list: Combine samples of a list of multiple MCMC objects
list
# NOT RUN { combine_samples_n(mcmcr_example, mcmcr_example, mcmcr_example, fun = sum) # }
Run the code above in your browser using DataLab