funnel.limitmeta: Funnel plot for limit meta-analysis

View source: R/funnel.limitmeta.R

funnel.limitmetaR Documentation

Funnel plot for limit meta-analysis

Description

Draws a funnel plot in the active graphics window.

Usage

## S3 method for class 'limitmeta'
funnel(
  x,
  pch = 21,
  cex = 1,
  col = "black",
  bg = "darkgray",
  lwd = 1,
  show.ci.adjust = FALSE,
  pch.adjust = 18,
  cex.adjust = 1.5,
  col.adjust = "gray",
  bg.adjust = "gray",
  line = TRUE,
  xmin.line,
  xmax.line,
  lty.line = 1,
  lwd.line = lwd,
  col.line = "gray",
  shrunken = FALSE,
  pch.shrunken = 22,
  cex.shrunken = 1,
  col.shrunken = "black",
  bg.shrunken = "white",
  lty.connect = 1,
  lwd.connect = 0.8,
  col.connect = "black",
  backtransf = x$backtransf,
  ...
)

Arguments

x

An object of class limitmeta.

pch

The plotting symbol used for individual studies.

cex

The magnification to be used for plotting symbol.

col

A vector with colour of plotting symbols.

bg

A vector with background colour of plotting symbols (only used if pch in 21:25).

lwd

The line width for confidence intervals (see funnel).

show.ci.adjust

A logical indicating whether to show the confidence interval of the adjusted estimate.

pch.adjust

The plotting symbol used for the adjusted effect estimate.

cex.adjust

The magnification to be used for the plotting symbol of the adjusted effect estimate.

col.adjust

Colour of plotting symbol for adjusted effect estimate.

bg.adjust

Background colour of plotting symbol for adjusted effect estimate.

line

A logical indicating whether adjusted regression line should be plotted.

xmin.line

Minimal value for the adjusted regression line (on x-axis).

xmax.line

Maximum value for the adjusted regression line (on x-axis).

lty.line

Line type of the adjusted regression line.

lwd.line

The line width of the adjusted regression line.

col.line

Color of the adjusted regression line.

shrunken

A logical indicating whether shrunken treatment estimates should be plotted.

pch.shrunken

The plotting symbol used for shrunken effect estimates.

cex.shrunken

The magnification to be used for the plotting symbol of the shrunken effect estimates.

col.shrunken

Colour of plotting symbol for shrunken effect estimates.

bg.shrunken

Background colour of plotting symbol for shrunken effect estimates.

lty.connect

Line type for line connecting original and shrunken treatment estimates.

lwd.connect

The line width of the connecting lines.

col.connect

Color of the connecting lines.

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 ratio, for example.

...

Additional arguments for funnel function.

Details

A funnel plot is drawn in the active graphics window. In addition this function adds the adjusted effect estimate as well as a nonlinear regression line (also called adjusted regression line) if argument line is TRUE. The adjusted regression line is representing the dependence of the treatment effect estimate on the standard error across studies. The adjusted regression line is only plotted in addition to the adjusted treatment effect if argument method.adjust="beta0" (default) has been used in the limitmeta function.

If argument shrunken is TRUE the shrunken effect estimates are also plotted. Lines are connecting original and shrunken effect estimates.

Internally, R function funnel.meta is called to create a funnel plot. For more information see help page of the funnel function.

Author(s)

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

See Also

limitmeta, funnel

Examples

data(Moore1998)
m1 <- metabin(succ.e, nobs.e, succ.c, nobs.c,
  data = Moore1998, sm = "OR", method = "Inverse")
l1 <- limitmeta(m1)
print(l1, digits = 2)
funnel(l1)

# Print results on log scale
#
print(l1, digits = 2, backtransf = FALSE)
funnel(l1, backtransf = FALSE)


metasens documentation built on March 7, 2023, 7:51 p.m.