Learn R Programming

BRugs (version 0.9-2.1)

modelData: Loading the data

Description

This function loads data into the statistical model.

Usage

modelData(fileName = "data.txt")

Value

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.

Arguments

fileName

Filename(s) of file(s) containing the data in OpenBUGS format.

See Also

BRugs, help.WinBUGS