Learn R Programming

R2WinBUGS (version 2.1-22.1)

bugs.update.settings: Adjusting WinBUGS registry

Description

Adjusts WinBUGS registry - intended for internal use

Usage

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

Value

Nothing, but as a side effect, the registry file

BUGS/System/Rsrc/Registry.odc is modified

Arguments

n.burnin

length of burn in

bugs.directory

directory that contains the WinBUGS executable

Details

Alter the adaptive phases in the WinBUGS updaters (in the BUGS/System/Rsrc/Registry.odc file, where BUGS is map of installed WinBUGS) so that all adaptive updating is done during the burnin stage. Otherwise WinBUGS 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.