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.best
selects the best of these (at time of
writing maximization problems may not work) and returns this answer in the form
that matches the return from optim
.
1 |
optimx.obj |
object returned by ‘optimx’ |
maximize |
TRUE if the objective function is to be maximized. |
None
get.best
returns a list
par |
The vector of parameters at the supposed optimum |
value |
The value of the objective at the supposed optimum |
counts |
A vector of length 2 with the number of function and gradient calls respectively. |
convergence |
A code indicating the status of the result. See relevant optimizer. |
message |
A message, if any, returned by the optimizer. To allow the user to know which method was used to obtain this result, the method is appended to this message. |
hessian |
If available, the (approximate) Hessian matrix at the returned parameters. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.