Skip to content
Back to formatted view

Raw Message

Message-ID: <CAM0+kvQwKWCP-TtkQOQ9TFG3zcK=Ob1w31Q92w70Mhxe06D=Hg@mail.gmail.com>
Date: 2020-06-15T15:32:34Z
From: Thao Tran
Subject: [R-meta] Adjust the scale for x-axis using forest() function in the metafor package

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 at gmail.com / maiphuongthao.tran at 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>