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, ...)
mtc.network
mtc.model
.
The following elements are descriptive: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.mtc.network
, mtc.run
file <- system.file("extdata/parkinson.gemtc", package="gemtc")
network <- read.mtc.network(file)
model <- mtc.model(network)
plot(model)
summary(model)
Run the code above in your browser using DataLab