write.datafile {BRugs} | R 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`.

[Package BRugs version 0.3-2 Index]