bugs.data.inits {R2WinBUGS} | R Documentation |
Write files ‘data.txt’ and ‘inits1.txt’, ‘inits2.txt’, etc., in the working directory for WinBUGS to read. For internal use only.
bugs.data.inits(data, inits, n.chains, digits)
data |
list of the data for the WinBUGS model, or a vector of the names of the data objects used by the model |
inits |
a list with n.chains elements; each element of the list is
itself a list of starting values for the WinBUGS model, or
a function creating (possibly random) initial values |
n.chains |
number of Markov chains |
digits |
number of significant digits used for WinBUGS input, see formatC |
Does not return anything.
The main function to be called by the user is bugs
.