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:
xsolThe potential solution vector.
ysolThe value of the objective function at xsol.
maximizeLogical indicating whether the potential solution should maximize or minimize the objective function.
xoptA vector containing the argmax/argmin in each projection plot.
yoptThe scalar value of the max/min found by optim_refit.
xdiffA 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|.
ydiffA 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.