View source: R/print.netimpact.R
| print.netimpact | R Documentation | 
Print method for objects of class netimpact.
## S3 method for class 'netimpact'
print(
  x,
  common = x$x$common,
  random = x$x$random,
  digits = gs("digits.prop"),
  nchar.trts = x$nchar.trts,
  nchar.studlab = x$nchar.studlab,
  details.methods = gs("details"),
  legend = gs("legend"),
  legend.studlab = TRUE,
  warn.deprecated = gs("warn.deprecated"),
  ...
)
| x | 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. | 
| digits | Minimal number of significant digits. | 
| nchar.trts | A numeric defining the minimum number of characters used to create unique treatment names (see Details). | 
| nchar.studlab | A numeric defining the minimum number of characters used to create unique study labels. | 
| details.methods | A logical specifying whether details on statistical methods should be printed. | 
| legend | A logical indicating whether a legend should be printed. | 
| legend.studlab | A logical indicating whether a legend should be printed for abbreviated study labels. | 
| warn.deprecated | A logical indicating whether warnings should be printed if deprecated arguments are used. | 
| ... | Additional arguments (to catch deprecated arguments). | 
Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de
netimpact, dat.franchini2012
# Only consider first two studies (to reduce runtime of example)
#
studies <- unique(dat.franchini2012$Study)
pw1 <- pairwise(list(Treatment1, Treatment2, Treatment3),
  n = list(n1, n2, n3),
  mean = list(y1, y2, y3), sd = list(sd1, sd2, sd3),
  data = subset(dat.franchini2012, Study %in% studies[1:2]),
  studlab = Study)
net1 <- netmeta(pw1)
ni <- netimpact(net1, verbose = TRUE)
ni
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.