modelSaveState {BRugs}R Documentation

Save the model's current state

Description

This function saves the sate of each chain in OpenBUGS model

Usage

modelSaveState(stem)

Arguments

stem

The filestem of the files to be generated.

Details

Example for argument stem: If stem = "c:/myFolder/stem", the resulting files are called ‘stem1.txt’, ..., ‘stemN.txt’. They are written into the tempdir() and copied to the path ‘"c:/myFolder"’.

Note

This function can be executed once a model has been successfully checked (see modelCheck).

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.9-2.1 Index]