Learn R Programming

R2WinBUGS (version 2.1-22.1)

write.datafile: Write data for WinBUGS

Description

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

Usage

write.datafile(datalist, towhere, fill = TRUE)
formatdata(datalist)

Value

datalist.tofile

A structure appropriate to be read in by WinBUGS.

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.