View source: R/diff.optcheck.R
diff.optcheck | R Documentation |
Elementwise difference between potential and optimal solutions.
## S3 method for class 'optcheck'
diff(x, ...)
## S3 method for class 'summary.optcheck'
diff(x, ...)
x |
Object of class |
... |
Further arguments to be passed to or from other methods. |
This function is simply a wrapper to summary(x)$xdiff
and x$xdiff
, for optcheck
and summary.optcheck
objects respectively.
A two-column matrix consisting of the absolute and relative differences between the potential and optimal solutions (xsol
and xopt
).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.