Learn R Programming

R2OpenBUGS (version 3.2-3.2.1)

bugs.update.settings: Adjusting OpenBUGS registry

Description

Adjusts OpenBUGS registry - intended for internal use

Usage

bugs.update.settings(n.burnin, bugs.directory)

Arguments

n.burnin

length of burn in

bugs.directory

directory that contains the OpenBUGS executable

Value

Nothing, but as a side effect, the registry file BUGS/System/Rsrc/Registry.odc is modified

Details

Alter the adaptive phases in the OpenBUGS updaters (in the BUGS/System/Rsrc/Registry.odc file, where BUGS is map of installed OpenBUGS) so that all adaptive updating is done during the burnin stage. Otherwise OpenBUGS will not report results if the burnin is less than a minimum value such as 500 or 4000 (depending on the model). Write permission on above mentioned file is needed for this!

See Also

The main function to be called by the user is bugs.