View source: R/summary.netcomb.R
summary.netcomb | R Documentation |
Summary method for objects of class netcomb
.
## S3 method for class 'netcomb'
summary(
object,
common = object$common,
random = object$random,
backtransf = object$backtransf,
nchar.comps = object$nchar.comps,
warn.deprecated = gs("warn.deprecated"),
...
)
object |
An object of class |
common |
A logical indicating whether results for the common effects model should be printed. |
random |
A logical indicating whether results for the random effects model should be printed. |
backtransf |
A logical indicating whether results should be back transformed in printouts and forest plots. |
nchar.comps |
A numeric defining the minimum number of characters used to create unique component names. |
warn.deprecated |
A logical indicating whether warnings should be printed if deprecated arguments are used. |
... |
Additional arguments (to catch deprecated arguments). |
A list is returned with the same elements as a
netcomb
object.
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
netcomb
, discomb
data(Linde2016)
# Only consider studies including Face-to-face PST (to reduce
# runtime of example)
#
face <- subset(Linde2016, id %in% c(16, 24, 49, 118))
# Conduct random effects network meta-analysis
#
net1 <- netmeta(lnOR, selnOR, treat1, treat2, id,
data = face, reference.group = "placebo",
sm = "OR", common = FALSE)
# Additive model for treatment components
#
nc1 <- netcomb(net1)
summary(nc1)
print(summary(nc1), digits = 2, digits.stat = 3)
## Not run:
# Conduct random effects network meta-analysis
#
net2 <- netmeta(lnOR, selnOR, treat1, treat2, id,
data = Linde2016, reference.group = "placebo",
sm = "OR", common = FALSE)
# Additive model for treatment components
#
nc2 <- netcomb(net2)
summary(nc2)
print(summary(nc2), digits = 2, digits.stat = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.