View source: R/summary.optrefit.R
summary.optrefit | R Documentation |
summary
method for optrefit
objects.summary
method for optrefit
objects.
## S3 method for class 'optrefit'
summary(object, xnames, ...)
object |
An |
xnames |
Optional vector of names for the elements of the potential solution. |
... |
Further arguments to be passed to or from other methods. |
An object of class summary.optrefit
inheriting from summary.optcheck
, with elements:
xsol
The potential solution vector.
ysol
The value of the objective function at xsol
.
maximize
Logical indicating whether the potential solution should maximize or minimize the objective function.
xopt
A vector containing the argmax/argmin in each projection plot.
yopt
The scalar value of the max/min found by optim_refit
.
xdiff
A two-column matrix containing the differences between xsol
and xopt
. The first column is the absolute difference D = xopt - xsol
, the second is the relative difference R = D/|xsol|
.
ydiff
A length-two vector containing the absolute and relative difference between ysol
and yopt
.
print.summary.optcheck()
for print
method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.