write.datafile function

Write data for OpenBUGS

Write data for OpenBUGS

Write data in files that can be read by OpenBUGS - intended for internal use

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

Returns

  • datalist.tofile: A structure appropriate to be read in by OpenBUGS.

See Also

The main function to be called by the user is bugs.

  • Maintainer: Neal Thomas
  • License: GPL-2
  • Last published: 2020-04-02

Useful links