[R-meta] Adjust the scale for x-axis using forest() function in the metafor package
Hey Michael, It is indeed a plot on the log-scale. However, I did transform the values back to the original scale using atransf = exp. It is quite intuitive to see the 95% CI on the linear scale so the variabilities of different studies can be seen clearly. If you take a look at the plot above (in the previous email): the first study had a very wide 95% CI (on the plot) although the values vary only between 10 and 99. The Roghmann study (fifth from the top) had a wide CI (from 400 to 1300) but shows very short CI on the plot. Regards, Thao On Mon, Jun 15, 2020 at 7:15 PM Michael Dewey <lists at dewey.myzen.co.uk> wrote:
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
*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 [[alternative HTML version deleted]]