[R-meta] Reducing space between the `xlab` and with the x-axis in a forestplot in metafor

Reza Norouzian rnorouz|@n @end|ng |rom gm@||@com
Wed Nov 20 21:47:33 CET 2019


Dear All,

Below, I'm trying to reduce the space between the xlab (titled: "Log Risk
Ratio") and the x-axis (*see picture below*) in the forest plot generated
by the metafor package in R with no success.

Is there any way to achieve this?

library(metafor)

dat <- escalc(measure="RR", ai=tpos, bi=tneg, ci=cpos, di=cneg, data=dat.bcg)

forest(dat$yi, dat$vi, mgp = c(2, .3, 0)) # Tried setting `mgp` without success!

[image: image.png]
-- 
*Reza Norouzian*
Postdoctoral Research Associate | Lecturer
Second Language Acquisition & Research Methods, Ph.D.
College of Education & Human Development
Dep. of Teaching, Learning & Culture | Texas A&M University
College Station, TX 77843
Webpage: *https://directory.education.tamu.edu/view.epl?nid=rnorouzian
<https://directory.education.tamu.edu/view.epl?nid=rnorouzian>*
Email: rnorouzian using tamu.edu
Phone: (979)-422-7052
*Future L2 researchers will be challenged not only on the basis of their
substantive questions, but also on how they manage to answer those
questions in a methodical manner.*

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20191120/661f31b8/attachment-0001.html>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 38324 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20191120/661f31b8/attachment-0001.png>


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