R Metafor 森林图研究标签

R Metafor forest plot study labels

我有一个包含三个子组的森林图,每个子组的一个级别来自同一研究。在 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

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