Skip to contents

Ported from multinma::plot.nma_rank_probs() (Phillippo et al. 2020). The rankogram gives the posterior probability of each rank; the cumulative version gives the probability of being ranked among the best k, whose normalized area is SUCRA.

Usage

# S3 method for class 'cpaic_rank_probs'
plot(x, y, ...)

Arguments

x

A cpaic_rank_probs object from rank_probs().

y

Unused, for compatibility with the plot() generic.

...

Unused.

Value

A ggplot object.

Details

Both are computed in a named target population, because a population-adjusted hierarchy is not population-free.

Examples

if (FALSE) {
plot(rank_probs(fit, newdata = data.frame(x1 = 0), what = "component"))
}