summary.optproj {optimCheck} | R Documentation |
summary
method for projection plots.
Description
summary
method for projection plots.
Usage
## S3 method for class 'optproj'
summary(object, xnames, ...)
Arguments
object |
An |
xnames |
Optional vector of names for the elements of the potential solution. |
... |
Further arguments to be passed to or from other methods. |
Details
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|
).
Value
An object of class summary.optproj
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
A vector containing the max/min in each projection plot.
xdiff
A two-column matrix containing the differences between
xsol
andxopt
. The first column is the absolute differenceD = xopt - xsol
, the second is the relative differenceR = D/|xsol|
.ydiff
Same thing, but between
ysol
andyopt
.
See Also
print.summary.optproj()
for print
method.