network.inconsistency.plot {bnma} | R Documentation |
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.
network.inconsistency.plot(result1, result2, with.label = T)
result1 |
consistency model result from running |
result2 |
inconsistency model result from running |
with.label |
indicator to show the study number; default is true. |
This function draws network graph using igraph package
None
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
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)