netgraph.discomb {netmeta}R Documentation

Network graph for objects of class discomb

Description

This function generates a graph of the evidence network.

Usage

## S3 method for class 'discomb'
netgraph(x, plastic = FALSE, ...)

Arguments

x

An object of class discomb.

plastic

A logical indicating whether the appearance of the comparisons should be in '3D look'.

...

Additional arguments passed on to netgraph.netmeta (see Details).

Details

The arguments seq and iterate are used internally and cannot be specified by the user.

Author(s)

Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de, Gerta Rücker gerta.ruecker@uniklinik-freiburg.de

See Also

discomb, netgraph.netmeta

Examples

# Artificial dataset
#
t1 <- c("A + B", "A + C", "A"    , "A"    , "D", "D", "E")
t2 <- c("C"    , "B"    , "B + C", "A + D", "E", "F", "F")
#
mean <- c(4.1, 2.05, 0, 0, 0.1, 0.1, 0.05)
se.mean <- rep(0.1, 7)
#
study <- paste("study", c(1:4, 5, 5, 5))
#
dat <- data.frame(mean, se.mean, t1, t2, study,
                  stringsAsFactors = FALSE)
#
trts <- c("A", "A + B", "A + C", "A + D",
  "B", "B + C", "C", "D", "E", "F")
#
comps <- LETTERS[1:6]

# Use netconnection() to display network information
#
netconnection(t1, t2, study)

dc1 <- discomb(mean, se.mean, t1, t2, study, seq = trts)

netgraph(dc1)


[Package netmeta version 2.9-0 Index]