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
[R-meta] Setting Axis in Forest Function
3 messages · D J, Wolfgang Viechtbauer
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 at r-project.org] On
Behalf Of D J
Sent: Monday, 30 May, 2022 19:42
To: r-sig-meta-analysis at 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
Don?t know how I missed that one ? thanks so much! Best, DJ Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows From: Viechtbauer, Wolfgang (NP)<mailto:wolfgang.viechtbauer at maastrichtuniversity.nl> Sent: May 30, 2022 2:21 PM To: D J<mailto:Dylan_Johnson at hotmail.ca>; r-sig-meta-analysis at r-project.org<mailto:r-sig-meta-analysis at r-project.org> Subject: RE: Setting Axis in Forest Function 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 at r-project.org] On
Behalf Of D J
Sent: Monday, 30 May, 2022 19:42
To: r-sig-meta-analysis at 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