Description Usage Arguments Value See Also
Write file ‘script.txt’ for MultiBUGS to read - intended for internal use
1 2 3 4 5 6 7 | bugs.script(parameters.to.save, n.chains, n.iter, n.burnin, n.thin,
n.workers, saveExec, restart, model.file.bug, model.file,
debug = FALSE, is.inits, fix.founders, DIC = FALSE,
useWINE = FALSE, newWINE = TRUE, WINEPATH = NULL,
bugs.seed = NULL, summary.only = FALSE,
save.history = (.Platform$OS.type == "windows" | useWINE == TRUE),
bugs.data.file, bugs.inits.files, over.relax = FALSE)
|
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 |
thinning parameter |
n.workers |
number of worker processes to distribute computation across |
saveExec |
If TRUE, a re-startable image of the MultiBUGS execution is
saved with |
restart |
If TRUE, execution resumes with the final status from the previous execution stored in the .bug file in the working directory. If |
model.file.bug |
If saveExec or restart is TRUE, then
|
model.file |
file containing the model written in MultiBUGS code |
debug |
if |
is.inits |
logical; whether initial values are given by the user
( |
DIC |
logical; if |
useWINE |
as in |
newWINE |
as in |
WINEPATH |
as in |
bugs.seed |
random seed for MultiBUGS (default is no seed specified) |
summary.only |
If |
save.history |
If |
bugs.data.file |
character name of the data file |
bugs.inits.files |
character vector of names of the inits files |
over.relax |
If |
Nothing, but as a side effect, the script file ‘script.txt’ is written
The main function to be called by the user is bugs
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.