network.rank.tx.plot: Create a treatment rank plot

Description Usage Arguments Value See Also Examples

View source: R/network.summary.R

Description

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

Usage

1
2
3
4
5
6
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

1
2
3
4
5
6
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"))

bnma documentation built on Jan. 16, 2021, 5:29 p.m.