Learn R Programming

R2OpenBUGS (version 3.2-4)

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)

Value

datalist.tofile

A structure appropriate to be read in by OpenBUGS.

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

See Also

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