R Metafor 森林图研究标签

发布于 2025-01-19 14:32:18 字数 428 浏览 3 评论 0原文

我有一个包含三个子组的森林图,每个子组的一个级别来自同一研究。在escalc中,我使用slab=paste(study),这在森林图中放置了正确的标签,但由于重复研究,它们以authoryear.1、authoryear.2、authoryear.3等结束。看起来像:

Group North
Smith 2021.1
Reed 2019.1

Group Central
Smith 2021.2
Reed 2019.2

Group South
Smith 2021.3
Reed 2019.3

我想要的是......

Group North
Smith 2021
Reed 2019

Group Central
Smith 2021
Reed 2019

Group South
Smith 2021
Reed 2019

I have a forest plot with three subgroups and one level of each subgroup comes from the same study. Within escalc I'm using slab=paste(study) and this places the correct labels in the forest plot, but since studies are repeated they are being ended with authoryear.1, authoryear.2, authoryear.3, etc. The forest plot looks like:

Group North
Smith 2021.1
Reed 2019.1

Group Central
Smith 2021.2
Reed 2019.2

Group South
Smith 2021.3
Reed 2019.3

What I want is...

Group North
Smith 2021
Reed 2019

Group Central
Smith 2021
Reed 2019

Group South
Smith 2021
Reed 2019

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

泼猴你往哪里跑 2025-01-26 14:32:18

事实上,escalc() 强制研究标签是唯一的。但是您可以使用 forest() 函数的 slab 参数来指定研究标签,并且它们将按原样使用。

Indeed, escalc() enforces that study labels are unique. But you can use the slab argument of the forest() function to specify the study labels and they will be used as is.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文