Skip to content

[R-meta] contour enhanced funnel plots when using function of sample size

1 message · Wolfgang Viechtbauer

#
Hi Tori,

The funnel() function will work just as well on an rma.mv object, so yes, you can also create a contour-enhanced funnel plot for an rma.mv object. For example:

dat <- dat.konstantopoulos2011
res <- rma.mv(yi, vi, random = ~ 1 | district/school, data=dat)
funnel(res, level=c(90, 95, 99), shade=c("white", "gray55", "gray75"), refline=0, legend=TRUE)

Best,
Wolfgang