network.rank.tx.plot {bnma}R Documentation

Create a treatment rank plot

Description

This plot displays how each treatment is ranked. For each rank, we show how likely each treatment will be at that rank.

Usage

network.rank.tx.plot(
  result,
  txnames = NULL,
  catnames = NULL,
  legend.position = c(1, 1)
)

Arguments

result

Object created by network.run function

txnames

Treatment names used in creating legend

catnames

Category names. Only used in multinomial.

legend.position

x,y position of the legend

Value

None

See Also

rank.tx

Examples

network <-with(blocker, {
 network.data(Outcomes, Study, Treat, N = N, response = "binomial")
})

result <- network.run(network)
network.rank.tx.plot(result, txnames = c("a", "b"))


[Package bnma version 1.4.0 Index]