Checking the model file

Share:

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

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.