eta_vs_contcov {xpose.xtras} | R Documentation |
Eta continuous covariate plots (typical)
Description
Eta continuous covariate plots (typical)
Usage
eta_vs_contcov(
xpdb,
mapping = NULL,
etavar = NULL,
drop_fixed = TRUE,
linsm = FALSE,
type = "ps",
title = "Eta versus continuous covariates | @run",
subtitle = "Based on @nind individuals, Eta shrink: @etashk",
caption = "@dir",
tag = NULL,
log = NULL,
guide = TRUE,
facets,
.problem,
quiet,
...
)
Arguments
xpdb |
< |
mapping |
|
etavar |
|
drop_fixed |
As in |
linsm |
If |
type |
Passed to |
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. |
Value
The desired plot
Examples
eta_vs_contcov(xpdb_x)
# Labels and units are also supported
xpdb_x %>%
xpose::set_var_labels(AGE="Age", MED1 = "Digoxin") %>%
xpose::set_var_units(AGE="yrs") %>%
set_var_levels(SEX=lvl_sex(), MED1 = lvl_bin()) %>%
eta_vs_contcov()
[Package xpose.xtras version 0.0.2 Index]