Write data in files that can be read by OpenBUGS - intended for internal use only
write.datafile(datalist, towhere, fill = TRUE)
formatdata(datalist)
A structure appropriate to be read in by OpenBUGS.
a list to be written into an appropriate structure
the name of the file which the data are to be written to
see cat, defaults to TRUE
The main functions to be called by the user are bugsData and bugsInits.