R/model.setOR.R

"modelSetOR" <-
function(factoryName, overRelaxation)
#   Set over-relaxed updating
{
    name <- sQuote(factoryName)
    command <- paste("UpdaterMethods.SetFactory(", name, 
                     ") ;UpdaterMethods.OverRelaxationGuard;",
                     "UpdaterMethods.SetOverRelaxation(", 
                     overRelaxation,
                     ")", 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 29, 2024, 9:38 a.m.