| cov_forest | R Documentation |
Visualizes the effect of covariates on structural parameters, as
declared with add_cov_association(), as a forest plot: one row per
(parameter, covariate, evaluation point), the point estimate and
interval as a ratio to the parameter's typical value, with a reference
line at 1.
This is the covariate-specific wrapper: it calls prm_cov() to
compute the effect-size table and xplot_forest() (a generic,
forest-plot-agnostic renderer, see its own documentation) to draw it.
cov_forest(
xpdb,
...,
type = "pilr",
region = NULL,
show_ref = TRUE,
log = TRUE,
forest_opts = list(),
title = "Covariate effects on model parameters | @run",
subtitle = "Ratio to typical parameter value; reference line at 1",
caption = "@dir",
tag = NULL,
.problem = NULL,
.subprob = NULL,
.method = NULL,
quiet
)
xpdb |
< |
... |
< |
type |
Passed to |
region |
< |
show_ref |
< |
log |
< |
forest_opts |
< |
title |
Plot title |
subtitle |
Plot subtitle |
caption |
Plot caption |
tag |
Plot tag |
.problem |
< |
.subprob |
< |
.method |
< |
quiet |
Silence extra output |
The desired plot
add_cov_association(), prm_cov(), xplot_forest()
xpdb_x %>%
add_cov_association(
TVCL ~ power(CLCR, THETA7, ref = 64),
TVCL ~ catshift(SEX, THETA4, ref = 1)
) %>%
cov_forest()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.