bugs.script {R2WinBUGS} | R Documentation |
Write file ‘script.txt’ for WinBUGS to read - intended for internal use only
bugs.script(parameters.to.save, n.chains, n.iter, n.burnin, n.thin, model.file, debug = FALSE, is.inits, bin, DIC = FALSE, useWINE = FALSE, newWINE = FALSE, WINEPATH = NULL)
parameters.to.save |
parameters that should be monitored |
n.chains |
number of Markov chains |
n.iter |
number of total iterations (including burn in) |
n.burnin |
length of burn in |
n.thin |
size of thinning parameter |
model.file |
file containing the model written in WinBUGS code |
debug |
if FALSE , WinBUGS is closed automatically,
otherwise WinBUGS remains open for further investigation |
is.inits |
logical; whether initial values are given by the user (TRUE )
or have to be generated by WinBUGS |
bin |
number of iterations between saving of results |
DIC |
logical; if TRUE , compute deviance, pD, and DIC automatically in WinBUGS |
useWINE |
logical; use WINE to run WinBUGS under Linux |
newWINE |
set this one to TRUE for new versions of WINE. |
WINEPATH |
Path the WINE, bugs tries hard to get the information automatically and
pass it to this function, if not given. |
Does not return anything.
The main function to be called by the user is bugs
.