get_shk | R Documentation |
This function parses shrinkages as they are currently
presented in get_summary
, so it
is dependent on the current implementation of that function.
get_shk(xpdb, wh = "eta", .problem = NULL, .subprob = NULL, .method = NULL)
xpdb |
An |
wh |
The shrinkage to extract ( |
.problem |
Problem number to use. Uses the xpose default if not provided. |
.subprob |
< |
.method |
< |
A numeric vector of shrinkage estimates.
data("xpdb_ex_pk", package = "xpose")
# eta Shrinkage
get_shk(xpdb_ex_pk)
# epsilon Shrinkage
get_shk(xpdb_ex_pk, wh = "eps")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.