Description Usage Arguments Details Value
The optimx general-purpose optimization wrapper function that calls other
R tools for optimization, including the existing optim() function creates
a data frame of results. get.results
extracts elements from this
data frame.
1 | get.result(optimx.obj, method, attribute)
|
optimx.obj |
object returned by ‘optimx’ |
method |
Name of the method for which all results are desired (e.g. ‘spg’) |
attribute |
type of result desired for all methods (e.g. ‘fvalues’). There is partial matching on inputs, so ‘fval’ will recover ‘fvalues’. |
None
get.result
returns the items requested or a warning string.
If both method and attribute are provided, the function returns
a warning message as a character string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.