meta (version 4.15-1)

metabind: Combine meta-analysis objects

Description

This function can be used to combine meta-analysis objects and is, for example, useful to generate a forest plot with results of subgroup analyses.

Usage

metabind(..., name, pooled, backtransf, outclab)

Arguments

...

Any number of meta-analysis objects (see Details).

name

An optional character vector providing descriptive names for the meta-analysis objects.

pooled

A character string indicating whether results of a fixed effect or random effects model should be considered. Either "fixed" or "random", can be abbreviated.

backtransf

A logical indicating whether results should be back transformed in printouts and plots. If backtransf=TRUE (default), results for sm="OR" are printed as odds ratios rather than log odds ratios, for example.

outclab

Outcome label for all meta-analyis objects.

Value

An object of class c("metabind", "meta") with corresponding print, summary, and forest functions. See metagen for more information on list elements.

Details

This function can be used to combine meta-analysis objects and is, for example, useful to generate a forest plot with results of subgroup analyses.

See Also

metagen, forest.metabind

Examples

Run this code
# NOT RUN {
data(Fleiss1993cont)

# Add some (fictitious) grouping variables:
#
Fleiss1993cont$age <- c(55, 65, 55, 65, 55)
Fleiss1993cont$region <- c("Europe", "Europe", "Asia", "Asia", "Europe")

m1 <- metacont(n.psyc, mean.psyc, sd.psyc, n.cont, mean.cont, sd.cont,
               data = Fleiss1993cont, sm = "MD")

# Conduct two subgroup analyses
#
mu1 <- update(m1, byvar = age, bylab = "Age group")
mu2 <- update(m1, byvar = region, bylab = "Region")

# Combine subgroup meta-analyses and show forest plot with subgroup
# results
#
mb1 <- metabind(mu1, mu2)
mb1
forest(mb1)

# }

Run the code above in your browser using DataLab