nimbleParameters: Processing of NIMBLE parameters

View source: R/mcmcInternals.R

nimbleParametersR Documentation

Processing of NIMBLE parameters

Description

A function that creates a list of parameter values that are required for configuring, building and running the MCMC compiler for NIMBLE and chooses sensible defaults if they are not given

Usage

nimbleParameters(..., warnNotFound = FALSE)

Arguments

...

Parameters to be passed to the constituent NIMBLE functions configureMCMC, runMCMC, nimbleModel, compileNimble. The argument names will be matched to any relevant arguments in the constituent functions. If you wish to specify that an argument is to passed to a specific constitutent function then you can the name the argument with the form function.argument, where 'function' is replaced with the name of the relevant constituent function and 'argument' is replaced with the name of the argument

warnNotFound

A logical scalar denoting whether a warning should be given if an argument in the ... parameters has not been found in the list of arguments in the constituent NIMBLE functions

Value

A list with named elements corresponding to each of the constituent NIMBLE functions. Each of these elements is a list with named elements corresponding to each of the constituent function arguments and the unevaluated expression to be passed to those arguments

Author(s)

Joseph D. Chipperfield, joechip90@googlemail.com

See Also

configureMCMC, runMCMC, nimbleModel, compileNimble


joechip90/PaGAn documentation built on April 17, 2025, 4:05 p.m.