[R-meta] Adjust the scale for x-axis using forest() function in the metafor package

Thao Tran th@obr@wn @end|ng |rom gm@||@com
Mon Jun 15 17:32:34 CEST 2020


Dear,
I want to plot an rma object using the forest() function in the metafor
package.
Here is a reproducible code to run it (please see the attachment).

[image: axis.png]

The problem is the x-axis does not scale as I expected even I tried using
at = ...
I wanted to have the x-axis scale from 1, to 1000 but with equal interval,
for example, between (0, 1e2), (1e2, 2e2), (2e2, 3e2)...
1-----100-----200-----300-----400-----500-----600-----700-----800-----900----1000
(something similar).

Do you have any suggestions?
Regards
Thao
-- 
*Trần Mai Phương Thảo*
Master Student - Master of Statistics
Hasselt University - Belgium.
Email: Thaobrawn using gmail.com / maiphuongthao.tran using student.uhasselt.be
Phone number: + 84 979 397 410+ 84 979 397 410 / 0032 488 0358430032 488
035843

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: axis.png
Type: image/png
Size: 32329 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20200615/1e1207a7/attachment-0001.png>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dat2C.RData
Type: application/octet-stream
Size: 688 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20200615/1e1207a7/attachment-0003.obj>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: adjust_scale_x_axis.R
Type: application/octet-stream
Size: 2930 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20200615/1e1207a7/attachment-0004.obj>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dat2C.RData
Type: application/octet-stream
Size: 688 bytes
Desc: not available
URL: <https://stat.ethz.ch/pipermail/r-sig-meta-analysis/attachments/20200615/1e1207a7/attachment-0005.obj>


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