function to write bugs model (copied from R2WinBUGS)
Arguments
- model
R / S-PLUS function containing the BUGS model in the BUGS model language, for minor differences see Section Details.
- con
passed to writeLines which actually writes the model file
- digits
number of significant digits used for WinBUGS input, see formatC
Value
write text lines to a connection; same as writeLines()