solution.hglm {holiglm} | R Documentation |
Extract Solution
Description
The solution of the underlying optimization problem,
can be accessed via the method 'solution'
.
Usage
## S3 method for class 'hglm'
solution(
x,
type = c("primal", "dual", "aux", "psd", "msg", "objval", "status", "status_code"),
force = FALSE,
...
)
Arguments
x |
an object of type |
type |
a character giving the name of the solution to be extracted. |
force |
a logical to control the return value in the case that the
status code is equal to 1 (i.e. something went wrong).
By default force is |
... |
further arguments passed to or from other methods. |
Value
the extracted solution.
[Package holiglm version 1.0.0 Index]