This function parses shrinkages as they are currently
presented in get_summary
, so it
is dependent on the current implementation of that function.
Arguments
- xpdb
An
xpose_data
object.- wh
The shrinkage to extract (
"eta"
or"eps"
)- .problem
Problem number to use. Uses the xpose default if not provided.
- .subprob
<
numeric
> Subproblem number to use. Uses the xpose default if not provided.- .method
<
character
> Method to use. Uses the xpose default if not provided.
Examples
data("xpdb_ex_pk", package = "xpose")
# eta Shrinkage
get_shk(xpdb_ex_pk)
#> [1] 9.3 28.7 23.7
# epsilon Shrinkage
get_shk(xpdb_ex_pk, wh = "eps")
#> [1] 14.9