Write file script.txt
for WinBUGS to read -
intended for internal use
bugs.script(parameters.to.save, n.chains, n.iter, n.burnin, n.thin,
model.file, debug=FALSE, is.inits, bin, DIC=FALSE,
useWINE=.Platform$OS.type != "windows", newWINE=TRUE, WINEPATH=NULL,
bugs.seed=NULL, summary.only=FALSE, save.history=TRUE,
bugs.data.file, bugs.inits.files, over.relax = FALSE)
Nothing, but as a side effect, the script file script.txt
is written
parameters that should be monitored
number of Markov chains
number of total iterations (including burn in)
length of burn in
size of thinning parameter
file containing the model written in WinBUGS code
if FALSE
, WinBUGS is closed automatically,
otherwise WinBUGS remains open for further investigation
logical; whether initial values are given by the user
(TRUE
) or have to be generated by WinBUGS
number of iterations between saving of results
logical; if TRUE
, compute deviance, pD, and DIC
automatically in WinBUGS
as in bugs
meta function
as in bugs
meta function
as in bugs
meta function
random seed for WinBUGS (default is no seed)
If TRUE
, only a parameter summary for very quick analyses is given,
temporary created files are not removed in that case.
If TRUE
(the default), trace plots are generated at the end.
character name of the data file
character vector of names of the inits files
If TRUE
, over-relaxed form of MCMC is used if available from WinBUGS.
The main function to be called by the user is bugs
.