modelAdaptivePhase {BRugs}R Documentation

Getting length of adaptive phase

Description

This function returns the length of the adaptive phase of the simulation.

Usage

modelAdaptivePhase()

Value

This function returns the length of the adaptive phase of the simulation. This is only known after the simulation has finished adapting. If this function is called while the simulation is still adapting MAX(INTEGER) is returned. If the simulation does not have an adaptive phase then zero is returned.

Note

This function can be executed once the model has been compiled and initialized.

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]