How the hierarchy changes across target effect-modifier means
Source:R/plot-mlnmr.R
plot_rank_curve.RdThe component effects are beta + Gamma x, so a component's rank is a
function of the target means x and components can cross. A single hierarchy
quoted without its target means is therefore incomplete. This plot shows the
family of average conditional link-scale hierarchies across a mean grid. It
does not standardize over different population distributions.
Arguments
- x
A
cmlnmr()fit, or the data frame returned byrank_curve().- em
Name of the effect modifier to vary. Required when
xis a fit.- values
Numeric vector of target values for
em. Required whenxis a fit.- at
Optional named vector fixing the other effect modifiers.
- what, lower_is_better
See
cpaic_ranks().- metric
Which ranking metric to trace:
"sucra"(default),"mean_rank", or"p_best".- ...
Passed to
rank_curve()whenxis a fit.
References
Wigle A, Beliveau A, Nikolakopoulou A, Lin L (2026). Creating Treatment and Component Hierarchies in Component Network Meta-Analysis.
Examples
if (FALSE) {
plot_rank_curve(fit, em = "x1", values = seq(-1, 1, by = 0.25),
what = "component")
}