Learn R Programming

BRugs (version 0.8-2)

write.datafile: Write data for OpenBUGS - intended for internal use only

Description

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

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.

concept

data

See Also

The main functions to be called by the user are bugsData and bugsInits.