View source: R/summary.optproj.R
| summary.optproj | R Documentation |
summary method for projection plots.summary method for projection plots.
## S3 method for class 'optproj'
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. |
The print methods for summary.optproj and optproj objects themselves both return a three-column matrix, consisting of the potential solution (xsol), the optimal solution in each projection plot (xopt), and the relative difference between the two (R = (xopt - xsol)/|xsol|).
An object of class summary.optproj 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.
yoptA vector containing the max/min in each projection plot.
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|.
ydiffSame thing, but between ysol and yopt.
print.summary.optproj() for print method.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.