R/ranks.set.R

"ranksSet" <-
function(node)
#   Set a ranks monitor for vector quantity node in OpenBUGS model
{
    nodeName <- sQuote(node)
    command <- paste("RanksEmbed.SetVariable(", nodeName, "); RanksEmbed.SetGuard;",
                             "RanksEmbed.Set")
    .CmdInterpreter(command)
    if(getOption("BRugsVerbose")) 
        buffer()
}

Try the BRugs package in your browser

Any scripts or data that you put into this service are public.

BRugs documentation built on May 31, 2023, 7:19 p.m.