modelCheck {BRugs} | R Documentation

## Checking the model file

### Description

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

### Usage

    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`

[Package BRugs version 0.3-2 Index]