【发布时间】:2014-04-23 14:03:07
【问题描述】:
查看 metafor 页面上的funnel plot examples - 似乎有一种方法可以为漏斗图添加标签。 funnel plot page 提供了更多详细信息,但没有列出添加标签的示例。
提供的例子:
library(metafor)
png(filename="contour_enhanced_funnel_plot.png",
res=92, width=680, height=600, type="cairo")
par(mar=c(5,4,1,2))
data(dat.bcg)
res <- rma(ai=tpos, bi=tneg, ci=cpos, di=cneg, data=dat.bcg, measure="RR",
slab=paste(author, year, sep=", "), method="REML")
funnel(res, level=c(90, 95, 99), shade=c("white", "gray", "darkgray"), refline=0)
dev.off()
包括一个标签字段,但在示例中没有生成。 如何在漏斗图中添加标签?
查看here,似乎使用 pch 可能是一种替代方法。大致如下:
pch=paste(StudyName, StudyMeasure, sep=", ")
但这只会产生一个字母点。 .
【问题讨论】: