registerMCMCengine {compareMCMCs}R Documentation

Register an MCMC function for use by compareMCMCs

Description

Register an MCMC function for use by compareMCMCs

Usage

registerMCMCengine(name, fun)

Arguments

name

The name by which the MCMC function (or "engine") is identified in the MCMCs argument to compareMCMCs.

fun

The function that runs and times an MCMC.

Details

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.


[Package compareMCMCs version 0.5.0 Index]