## S3 method for class 'optimx' summary(object, order = NULL, par.select = TRUE, ...)
Object returned by
A column name, character vector of columns names, R
expression in terms of column names or a list of R expressions in terms of
a numeric, character or logical vector selecting
Further arguments to be passed to the function. Currently not used.
order is specified then the result is reordered by the specified
columns, each in ascending order (except possibly for the
value column which is re-ordered in descending order for
object with the rows ordered according
order and with those parameters selected by
ans <- optimx(fn = function(x) sum(x*x), par = 1:2) # order by method name. summary(ans, order = rownames) # order by objective value. Do not show parameter values. summary(ans, order = value, par.select = FALSE) # order by objective value and then number of function evaluations # such that objectives that are the same to 3 decimals are # considered the same. Show only first parameter. summary(ans, order = list(round(value, 3), fevals), par.select = 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.