modelData | R Documentation |
This function loads data into the statistical model.
modelData(fileName = "data.txt")
fileName |
Filename(s) of file(s) containing the data in OpenBUGS format. |
If any syntax errors or data inconsistencies are detected an error message is displayed. Corrections can be made to the data without returning to the ‘check model’ stage. When the data have been loaded successfully the message ‘data loaded’ should appear.
This function can be executed once a model has been successfully checked (see modelCheck
),
it can no longer be executed once the model has been successfully compiled.
If an attempt is made to execute this function in an inappropriate context the generic error message ‘command is not allowed (greyed out)’ is displayed.
BRugs
, help.WinBUGS
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.