powered by
Run Multiple MJMCMC Runs in Parallel, Merging the Results Before Returning.
mjmcmc.parallel(runs = 2, cores = getOption("mc.cores", 2L), ...)
Merged results from multiple mjmcmc runs
The number of runs to run
The number of cores to run on
Further parameters passed to mjmcmc.
result <- mjmcmc.parallel(runs = 1, cores = 1, loglik.pi = FBMS::gaussian.loglik, y = matrix(rnorm(100), 100), x = matrix(rnorm(600), 100)) summary(result) plot(result)
Run the code above in your browser using DataLab