network.inconsistency.plot {bnma}R Documentation

Plotting comparison of posterior mean deviance in the consistency model and inconsistency model

Description

This function compares posterior mean deviance of inconsistency model and consistency model. Such comparison provides information that can help identify the loops in which inconsistency is present.

Usage

network.inconsistency.plot(result1, result2, with.label = T)

Arguments

result1

consistency model result from running network.run function

result2

inconsistency model result from running ume.network.data function

with.label

indicator to show the study number; default is true.

Details

This function draws network graph using igraph package

Value

None

References

S. Dias, N.J. Welton, A.J. Sutton, D.M. Caldwell, G. Lu, and A.E. Ades (2013), Evidence synthesis for decision making 4: inconsistency in networks of evidence based on randomized controlled trials, Medical Decision Making 33(5):641-656. doi:10.1177/0272989X12455847

Examples

network1 <- with(smoking, {
 network.data(Outcomes, Study, Treat, N = N, response = "binomial", type = "random")
})

network2 <- with(smoking, {
 ume.network.data(Outcomes, Study, Treat, N = N, response = "binomial", type = "random")
})

result1 <- network.run(network1)
result2 <- ume.network.run(network2)
network.inconsistency.plot(result1, result2)


[Package bnma version 1.6.0 Index]