Skip to content
Back to formatted view

Raw Message

Message-ID: <fd7a4fa5-7478-de52-1e3a-e9c2291b815d@dewey.myzen.co.uk>
Date: 2020-06-15T17:15:38Z
From: Michael Dewey
Subject: [R-meta]  Adjust the scale for x-axis using forest() function in the metafor package
In-Reply-To: <CAM0+kvQwKWCP-TtkQOQ9TFG3zcK=Ob1w31Q92w70Mhxe06D=Hg@mail.gmail.com>

Dear Thao

It is not wuite clear to me why you expect to see a linear scale on a 
plot using log values. I would suggest putting the ticks at places more 
evenly spaced on the log scale.

Michael

On 15/06/2020 16:32, Thao Tran wrote:
> 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).
> 
> 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 <mailto:Thaobrawn at gmail.com> / 
> maiphuongthao.tran at student.uhasselt.be 
> <mailto:maiphuongthao.tran at student.uhasselt.be>
> Phone number: + 84 979 397 410+ 84 979 397 410/ 0032 488 0358430032 488 
> 035843
> 
> 
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
> 	Virus-free. www.avg.com 
> <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
> 
> 
> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
> 
> _______________________________________________
> R-sig-meta-analysis mailing list
> R-sig-meta-analysis at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis
> 

-- 
Michael
http://www.dewey.myzen.co.uk/home.html