bugs.data | R Documentation |
Write file for WinBUGS to read - for internal use.
bugs.data(data, dir = getwd(), digits = 5, data.file = "data.txt")
data |
either a named list (names corresponding to variable names
in the |
dir |
the directory to write the file ‘data.txt’ to |
digits |
number of significant digits used for WinBUGS
input, see |
data.file |
name for the file R writes the data into. |
The name of data.file
is returned and as a side effect,
the data file is written
The main function to be called by the user is bugs
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.