get_control | R Documentation |
This function provides a way to merge the user specified controls for the optimization methods with their respective default controls.
get_control(method, control = list())
method |
A character string. Type of algorithm to be
used for global optimization. The four available methods
are simulated annealing ( |
control |
A list. Arguments to be used to control the
behavior of the algorithm chosen in |
A list. Arguments to be used to control the behavior
of the algorithm chosen in method
.
# Select method
method = "GenSA"
# Select control to modify and store in a list
control = list(maxit = 100)
# Get all controls for the method specify
MaxMC:::get_control(method = method, control = control)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.