mtc.model
function generates network meta-analysis models from an mtc.network
object.mtc.model(network, type = "consistency", factor = 2.5, n.chain = 4,
likelihood=NULL, link=NULL, linearModel="random",
om.scale=NULL, hy.prior=mtc.hy.prior("std.dev", "dunif", 0, "om.scale"),
dic=TRUE, ...)
mtc.network
mtc.hy.prior
.mtc.model
.
The following elements are descriptive:cat()
for proper formatting.consistency
: ordinary consistency model. No additional parameters.[Dias et al. 2013a, van Valkenhoef et al. 2012]nodesplit
: node-splitting model. Removes both arms used to estimate the direct evidence from the network of indirect evidence, rather than just one of those arms. This means that three-arm trials do not contribute any evidence in the network of indirect evidence. When relative effect data are present, these are transformed appropriately (using an assumption of normality) to enable this direct/indirect evidence split. Additional parameters: t1
and t2
, which indicate the comparison to be split. [Dias et al. 2010, van Valkenhoef et al. 2014a (draft)]use
: unrelated study effects. Models the effects within each study as if the studies are independent. No additional parameters. [van Valkenhoef et al. 2014b (draft)]ume
: unrelated mean effects. Models the effects within each comparison as if they are independent. Does not properly handle multi-arm trials, and warns when they are present in the network. No additional parameters. [Dias et al. 2013b, van Valkenhoef et al. 2014b (draft)]mtc.model
object
will show a graph with the treatments as vertices and the comparisons as edges.
The lines with solid arrows represent basic parameters, and the other lines represent comparisons that are not associated with any parameter but do have direct evidence from trials.igraph::layout.circle
, other layout algorithms can be used by passing them as an optional argument called layout
to plot
.
The igraph::layout.fruchterman.reingold
algorithm also seems to produce nice results and may be better for large graphs.
The default up-to version 0.1-2 was igraph::layout.kamada.kawai
but could produce overlapping edges.
mtc.model
function generates an object of S3 class mtc.model
, which can be
visualized by the generic plot
function or summarized by the generic summary
function.These likelihood/links are supported:
Required columns:[mean, std.err]
or[mean, std.dev, sampleSize]
.
Result: relative mean difference.
Required columns [responders, sampleSize]
.
Result: (log) odds ratio.
Required columns [responders, sampleSize]
.
Result: (log) risk ratio.
Required columns [responders, sampleSize]
.
Result: (log) hazard ratio.
Required columns [responders, exposure]
.
Result: (log) hazard ratio.
mtc.network
, mtc.run
model <- mtc.model(parkinson)
plot(model)
summary(model)
Run the code above in your browser using DataLab