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

Michael Dewey ||@t@ @end|ng |rom dewey@myzen@co@uk
Mon Jun 15 19:15:38 CEST 2020


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 using gmail.com <mailto:Thaobrawn using gmail.com> / 
> maiphuongthao.tran using student.uhasselt.be 
> <mailto:maiphuongthao.tran using 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 using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-meta-analysis
> 

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



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