View source: R/adhoc-imports.R
function to write bugs model (copied from R2WinBUGS)
1 | write.model(model, con = "model.bug", digits = 5)
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.