model.check: Checking the model file

Description

This function parses a BUGS language description of the statistical model.

Usage

1
modelCheck(fileName)

Arguments

fileName

file containing the BUGS language description of the statistical model.

Value

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.

Note

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.

See Also

BRugs, help.WinBUGS


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.