modelSetAP {BRugs} | R Documentation

## Changing settings of updating algorithms

### Description

These functions change adaptivePhase, iterations, and overRelaxation settings.

### Usage

    modelSetAP(factoryName, adaptivePhase)
    modelSetIts(factoryName, iterations)
    modelSetOR(factoryName, overRelaxation)

### Arguments

`factoryName` | String defining which particular MCMC updating algorithm is to be tuned. Technically this string is the type name of the factory object used to create the updater, for example ‘UpdaterMetnormal.Factory’ for the random walk metropolis sampler.
`adaptivePhase` | length of the updater's adaptive phase
`iterations` | number of times an iterative algorithm is run before a failure is reported
`overRelaxation` | amount of over relaxation the updater uses

### Details

Once a model has been compiled, the various updating algorithms required in order to perform the MCMC simulation may be ‘tuned’ somewhat via these three functions.

### See Also

`BRugs`, `help.WinBUGS`

[Package BRugs version 0.3-2 Index]