mjmcmc.parallel {FBMS}R Documentation

Run multiple mjmcmc runs in parallel, merging the results before returning.

Description

Run multiple mjmcmc runs in parallel, merging the results before returning.

Usage

mjmcmc.parallel(runs, cores = getOption("mc.cores", 2L), ...)

Arguments

runs

The number of runs to run

cores

The number of cores to run on

...

Further params passed to mjmcmc.

Value

Merged results from multiple mjmcmc runs

Examples

result <- mjmcmc.parallel(runs = 1, cores = 1, matrix(rnorm(600), 100), gaussian.loglik)
summary(result)
plot(result)


[Package FBMS version 1.0 Index]