Write files inits1.txt
, inits2.txt
, etc., in
the working directory for OpenBUGS to read
bugs.inits(inits, n.chains, digits,
inits.files = paste("inits", 1:n.chains, ".txt", sep = ""))
a list with n.chains
elements; each element of the
list is itself a list of starting values for the OpenBUGS model,
or a function creating (possibly random) initial values
number of Markov chains
number of significant digits used for OpenBUGS
input, see formatC
name for the inits files R write the inits into.
Vector of names of inits.files
; as a side effect, the inits files inits*.txt
are written
The main function to be called by the user is bugs
.