R/model.setIts.R

"modelSetIts" <-
function(factoryName, iterations)
#   Set maximum number of iterations in iterative algorithms
{
    name <- sQuote(factoryName)
    command <- paste("UpdaterMethods.SetFactory(", name, 
                     ") ;UpdaterMethods.IterationsGuard;",
                     "UpdaterMethods.SetIterations(", 
                     iterations,
                     ")", sep = "")
    .CmdInterpreter(command)
}

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.