Method to set the global variance of an optimizer model.

# S4 method for optimizer
set_global_variance(object, variance)

Arguments

object

An optimizer object

variance

Value to set the variance

Value

Updated Optimizer object

Examples

if (FALSE) {
# Set Optimizer global variance to 10%
opt <- opt %>%
   set_global_variance(variance = .10)
}