[R-meta] adapting forest plot visual

Viechtbauer, Wolfgang (SP) wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Fri Jul 17 21:02:32 CEST 2020

Hi José,

See help(forest.rma) and in particular the 'order' argument. For example:


dat <- data.frame(yi = c(.43, .12, .32, .02),
                  vi = rep(.01, 4))

res <- rma(yi, vi, data=dat)
forest(res, order="obs")


>-----Original Message-----
>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces using r-project.org]
>On Behalf Of José Ríos Díaz
>Sent: Friday, 17 July, 2020 19:38
>To: r-sig-meta-analysis using r-project.org
>Subject: [R-meta] adapting forest plot visual
>Dear list,
>I tried to order the forest plot by effect. I get to sort the authors'
>names, but not the graphics or effect sizes with their Ic95%.
>I think it's possible to do it by sorting the list with the results of
>applying rma (it stored as a list), but I still don't know how to do it.
>I work with metafor package
>Thank you
>José Ríos-Díaz

More information about the R-sig-meta-analysis mailing list