| mjmcmc.parallel | R Documentation |
Run multiple mjmcmc runs in parallel, merging the results before returning.
mjmcmc.parallel(runs = 2, cores = getOption("mc.cores", 2L), ...)
runs |
The number of runs to run |
cores |
The number of cores to run on |
... |
Further parameters passed to mjmcmc. |
Merged results from multiple mjmcmc runs
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.