View source: R/nodesplit.functions.R
inconsistency.loops | R Documentation |
Identify comparisons informed by both direct and indirect evidence from independent sources, which therefore fulfil the criteria for testing for inconsistency via node-splitting. Follows the method of van Valkenhoef \insertCitevanvalkenhoef2016;textualMBNMAtime.
inconsistency.loops(data)
data |
A data frame containing variables |
Similar to gemtc::mtc.nodesplit()
but uses a fixed
reference treatment and therefore suggests fewer loops in which to test for
inconsistency. Heterogeneity can also be parameterised as inconsistency and
so testing for inconsistency in additional loops whilst changing the
reference treatment would also be identifying heterogeneity. Depends on igraph
.
A data frame of comparisons that are informed by direct and indirect
evidence from independent sources. Each row of the data frame is a
different treatment comparison. Numerical codes in t1
and t2
correspond
to treatment codes.
data <- data.frame(studyID=c(1,1,2,2,3,3,4,4,5,5,5),
treatment=c(1,2,1,3,2,3,3,4,1,2,4)
)
# Identify comparisons informed by direct and indirect evidence
inconsistency.loops(data)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.