write.datafile {R2WinBUGS}R Documentation

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)

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

See Also

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


[Package R2WinBUGS version 2.1-22.1 Index]