modelCheck {BRugs} | R Documentation |
This function parses a BUGS language description of the statistical model.
modelCheck(fileName)
fileName |
file containing the BUGS language description of the statistical model. |
If a syntax error is detected the position of the error and a description of the error is printed, otherwise the ‘model is syntaxicaly correct’ message is displayed.
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.