R to WinBUGS data conversion
Writes data from an R list to a text file in WinBUGS-compatible format.
epi.RtoBUGS(datalist, towhere)
datalist |
a list (normally, with named elements) which may include scalars, vectors, matrices, arrays of any number of dimensions, and data frames. |
towhere |
a character string identifying where the file is to be written. |
The function doesn't check to ensure that only numbers are being produced. In particular, factor labels in a dataframe will be output to the file, which normally won't be desired.
Terry Elrod (terry.elrod@ualberta.ca), Kenneth Rice.
Best, NG. WinBUGS 1.3.1 Short Course, Brisbane, November 2000.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.