Description Usage Arguments Details Value Examples
This function creates a list of class gadget_optinfofile
that can be
used to write to file the components desired for optimization in Gadget.
Arguments to the function can either be left blank for the default; otherwise
they must be named arguments with names corresponding to the optimization
routine desired (see Gadget User Guide. Chapter 11.).
1 |
... |
Named list(s) with names corresponding to the optimization type desired. |
If the default values provided by gadgetSim are desired, then use a named argument with "default" (i.e. simann = "default"). Otherwise, you can specify as many or as few parameters to alter in a list
A list of class gadget_optinfofile
1 2 3 4 5 | opt <- make_gadget_optinfofile()
opt <- make_gadget_optinfofile(simann = "default")
opt <- make_gadget_optinfofile(simann = list(simanniter = 10000,
t = 3000),
bfgs = list(bfgsiter = 20000))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.