Register an MCMC function for use by compareMCMCs
registerMCMCengine(name, fun)The name by which the MCMC function (or "engine") is identified
in the MCMCs argument to compareMCMCs.
The function that runs and times an MCMC.
See package vignette for information about the arguments
that will be passed to fun from compareMCMCs and the MCMCresult
object that should be returned by fun.
For more information, see builtin_MCMCs.
MCMCs from nimble are run in a different way, since there can be
multiple MCMCs for the same nimble model. These are run by
runNIMBLE, which is not exported.