[R-meta] Setting Axis in Forest Function

Viechtbauer, Wolfgang (NP) wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Mon May 30 20:21:41 CEST 2022


Hi DJ,

Maybe you are looking for the 'alim' (or 'at') argument.

Best,
Wolfgang

>-----Original Message-----
>From: R-sig-meta-analysis [mailto:r-sig-meta-analysis-bounces using r-project.org] On
>Behalf Of D J
>Sent: Monday, 30 May, 2022 19:42
>To: r-sig-meta-analysis using r-project.org
>Subject: [R-meta] Setting Axis in Forest Function
>
>Hello,
>
>Is there a way to specify the scale of the x-axis for the effect sizes. I need to
>make multiple forest plots and I want the range to be consistent.
>
>m.overall <- rma.mv(fishersZ, V_fisher, random = list(~ 1 | effectsizeID, ~ 1 |
>StudyID), intercept=
>                      TRUE, data=dataset, method = "REML", slab=paste(author))
>forest(m.overall, xlim=c(6,-10),
>       xlab = "",mlab="",
>       cex=0.40, fonts="sans",
>       ilab=cbind(dataset$Refid), ilab.xpos=c(-4),)
>
>Thanks!
>
>Best,
>DJ



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