ggfunnel: Funnel Plots

Description Usage Arguments Details Value Note Author(s) References See Also Examples

Description

Function to create funnel plots with ggplot2.

Usage

1
2
3
4
ggfunnel(x, ...)

## S3 method for class 'rma'
ggfunnel(x, ...)

Arguments

x

an object of class "rma".

...

other arguments.

Details

Description of what the function does.

Value

A plot object.

Note

In case some additional notes are needed.

Author(s)

John Sakaluk jksakaluk@gmail.com

References

Light, R. J., & Pillemer, D. B. (1984). Summing up: The science of reviewing research. Cambridge, MA: Harvard University Press.

Peters, J. L., Sutton, A. J., Jones, D. R., Abrams, K. R., & Rushton, L. (2008). Contour-enhanced meta-analysis funnel plots help distinguish publication bias from other causes of asymmetry. Journal of Clinical Epidemiology, 61, 991–996.

Sterne, J. A. C., & Egger, M. (2001). Funnel plots for detecting bias in meta-analysis: Guidelines on choice of axis. Journal of Clinical Epidemiology, 54, 1046–1055.

See Also

rma.uni, forest.rma

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
### load BCG vaccine data
dat <- get(data(dat.bcg))

### calculate log risk ratios and corresponding sampling variances
dat <- escalc(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg, data=dat)

### random-effects model
res <- rma(yi, vi, data=dat)

### standard funnel plot
funnel(res)

### funnel plot using metaggplots
ggfunnel(res)

wviechtb/metaggplots documentation built on May 31, 2019, 11:45 p.m.