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

write.datafileR Documentation

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.tofile

A structure appropriate to be read in by OpenBUGS.

See Also

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


BRugs documentation built on May 31, 2023, 7:19 p.m.

Related to write.datafile in BRugs...