View source: R/print.optcheck.R
| print.optcheck | R Documentation |
optcheck and summary.optcheck objects.Print method for optcheck and summary.optcheck objects.
## S3 method for class 'optcheck'
print(x, digits = max(3L, getOption("digits") - 3L), n = 5L, ...)
## S3 method for class 'summary.optcheck'
print(x, digits = max(3L, getOption("digits") - 3L), n = 5L, ...)
x |
Object of class |
digits |
Number of digits to display. |
n |
Number of elements of solution vector to display (see Details). |
... |
Further arguments to be passed to or from other methods. |
The print methods for optcheck and summary.optcheck objects both display three-column matrix, consisting of the potential solution (xsol), the absolute difference between it and the optimal solution (xopt) return by either optim_proj() and optim_refit(), and the relative difference (R = (xopt - xsol)/|xsol|). Only the elemnts corresponding to the top-n relative differences are displayed.
Invisibly x itself.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.