network.cumrank.tx.plot {bnma} | R Documentation |
Create a treatment cumulative rank plot
Description
This function creates a treatment cumulative rank plot. Rank preference can be specified by the rank.preference
parameter in network.data
Usage
network.cumrank.tx.plot(
result,
txnames = NULL,
catnames = NULL,
legend.position = c(1, 1)
)
Arguments
result |
Object created by |
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
Examples
network <- with(blocker, {
network.data(Outcomes, Study, Treat, N = N, response = "binomial")
})
result <- network.run(network)
network.cumrank.tx.plot(result, txnames = c("control", "beta blocker"))
[Package bnma version 1.6.0 Index]