| shk_vs_contcov | R Documentation |
Mirrors eta_vs_contcov(), but for the per-individual shrinkage
contribution diagnostic (shk type columns, see
derive_shk()/backfill_shk()) instead of the etas themselves.
shk_vs_contcov(
xpdb,
mapping = NULL,
shkvar = NULL,
covvar = NULL,
drop_fixed = TRUE,
linsm = FALSE,
type = "ps",
list = TRUE,
title = "Shrinkage contribution versus continuous covariates | @run",
subtitle = "Based on @nind individuals",
caption = "@dir",
tag = NULL,
log = NULL,
guide = TRUE,
facets,
.problem,
quiet,
...
)
xpdb |
< |
mapping |
|
shkvar |
|
covvar |
|
drop_fixed |
As in |
linsm |
If |
type |
Passed to |
list |
< |
title |
Plot title |
subtitle |
Plot subtitle |
caption |
Plot caption |
tag |
Plot tag |
log |
Log scale covariate value? |
guide |
Add guide line? |
facets |
Additional facets |
.problem |
Problem number |
quiet |
Silence output |
... |
Any additional aesthetics. |
The desired plot, or (when shkvar resolves to more than one
shk column and list = TRUE) a plain list of one plot per column.
xpdb_x %>%
backfill_shk() %>%
shk_vs_contcov()
# Combine all shk columns onto one shared, faceted plot instead of a list
xpdb_x %>%
backfill_shk() %>%
shk_vs_contcov(list = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.