write.datafile: Write data for OpenBUGS
Description
Write data in files that can be read by OpenBUGS - intended
for internal use
Usage
write.datafile(datalist, towhere, fill = TRUE)
formatdata(datalist)
Arguments
datalist
a list to be written into an appropriate structure
towhere
the name of the file which the data are to be written to
fill
see cat
, defaults to TRUE
Value
datalist.tofileA structure appropriate to be read in by OpenBUGS.
See Also
The main function to be called by the user is bugs
.