[R-meta] adapting forest plot visual

jriosmeti@v m@iii@g oii gm@ii@com jriosmeti@v m@iii@g oii gm@ii@com
Mon Jul 27 10:51:15 CEST 2020

Thanks, I'll try it.

-----Mensaje original-----
De: Viechtbauer, Wolfgang (SP) <wolfgang.viechtbauer using maastrichtuniversity.nl> 
Enviado el: viernes, 17 de julio de 2020 21:03
Para: José Ríos Díaz <jriosmetinv using gmail.com>; r-sig-meta-analysis using r-project.org
Asunto: RE: [R-meta] adapting forest plot visual

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