print.metabind: Print results of several meta-analyses

View source: R/print.metabind.R

print.metabindR Documentation

Print results of several meta-analyses

Description

Print method for objects of class metabind.

Usage

## S3 method for class 'metabind'
print(
  x,
  common = !is.null(x$common),
  random = !is.null(x$random),
  prediction = !is.null(x$predict),
  overall = common || random,
  backtransf = x$backtransf,
  print = NULL,
  digits = NULL,
  lab.NA = ".",
  big.mark = gs("big.mark"),
  scientific.pval = gs("scientific.pval"),
  zero.pval = gs("zero.pval"),
  JAMA.pval = gs("JAMA.pval"),
  text.tau2 = gs("text.tau2"),
  text.tau = gs("text.tau"),
  text.I2 = gs("text.I2"),
  details.methods = gs("details"),
  ...
)

Arguments

x

An object of class metabind.

common, random, prediction

Logical values selecting common effect estimates, random effects estimates, and prediction intervals to print.

overall

A logical indicating whether overall summaries should be printed. No additional overall summaries are printed for included meta-analyses without subgroup analyses. For subgroup analyses, selected overall effects can be shared independently of heterogeneity. Shared heterogeneity is printed only when its values and settings also agree across included meta-analyses. Subgroup-difference statistics are headed Q, F, or Q/F, according to the tests in each displayed table. Both degrees of freedom are retained for F tests.

backtransf

A logical indicating whether results should be back-transformed. Different summary measures require back-transformation.

print

A named list controlling displayed information; see meta-formatting.

digits

A named list controlling rounding; see meta-formatting. A scalar value is also accepted.

lab.NA

Label for missing values.

big.mark

Character used as thousands separator.

scientific.pval, zero.pval, JAMA.pval

Logical values controlling the formatting of P values.

text.tau2

Text printed to identify between-study variance \tau^2.

text.tau

Text printed to identify \tau, the square root of the between-study variance \tau^2.

text.I2

Text printed to identify heterogeneity statistic I^2.

details.methods

A logical specifying whether details on statistical methods should be printed.

...

Additional formatting arguments, including individual print.* and digits.* arguments.

Details

Formatting defaults

Unless listed below, defaults for supported formatting elements are described in meta-formatting.

Element Default
print$stat TRUE
print$I2, print$tau2 Corresponding gs("print.*") setting
print$tau, print$Q Corresponding gs("print.*") setting
print$I2.ci, print$tau2.ci FALSE
print$tau.ci FALSE
print$pval.Q Follows print$Q
print$subgroup.name Whether subgroup results are present

The named list print controls which columns are shown. Columns func, sm, method, and method.interval are selected automatically when their values differ within a result table. Confidence-level columns level.ma, level.predict, and level.hetstat are shown when the corresponding levels differ. Columns backtransf and args.backtransf are shown when custom back-transformation functions and arguments are supplied; arguments are shown only with the function column.

Value

Invisibly returns NULL.

Author(s)

Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de

See Also

metabind, forest.metabind, settings.meta

Examples

data(Fleiss1993bin)
ma1 <- metabin(d.asp, n.asp, d.plac, n.plac,
  data = Fleiss1993bin, studlab = study, sm = "RR", method = "I")
ma2 <- update(ma1, method = "MH", random = FALSE)
#
mb12 <- metabind(ma1, ma2, name = c("IV method", "MH method"))

# Printout for individual meta-analyses
#
ma1
ma2

# Standard printout
#
mb12

# Print confidence intervals for tau^2 and tau and
# suppress column on meta-analysis method
#
print(mb12, print = list(tau2.ci = TRUE, tau.ci = TRUE, method = FALSE))


meta documentation built on Nov. 14, 2026, 5:09 p.m.