[R] Code for funnel plot

Viechtbauer, Wolfgang (NP) wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Wed May 11 15:50:39 CEST 2022


The code is the same for drawing the funnel plot. For computing mean differences, you can use escalc() with measure="MD".

Sidenote: There is a mailing list specifically for meta-analysis with R: https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis

Best,
Wolfgang

>-----Original Message-----
>From: R-help [mailto:r-help-bounces using r-project.org] On Behalf Of De Simone
>Sent: Wednesday, 11 May, 2022 13:40
>To: r-help using r-project.org
>Subject: [R] Code for funnel plot
>
>Hi,
>
>I am using R 4.1, and I am trying to create a funnel plot for continuous
>data (measure = mean difference), using metafor. I checked the site
>https://www.metafor-project.org/doku.php/plots:funnel_plot_variations, and
>code provided is for dichotomous data - measure OR.
>
>res <- rma(yi, vi, data=dat.hackshaw1998, measure="OR", method="EE")
>
>funnel(res, main="Standard Error",back = "lightblue")
>
>My question is how to construct a code to get a funnel for my continuous
>data? I am using DL method
>
>Thank you



More information about the R-help mailing list