[R] forrest plot

From: Michela Ballardini <m.ballardini_at_ior-forli.it>
Date: Thu 20 Oct 2005 - 20:39:12 EST


Hello
I'm trying to plot hazard risk values using the function metaplot with  the specifications:

metaplot(mn=c(-0.28174,-0.71444,-0.12375,-0.12426,-0.30011,-0.45058,-0.07324),se=c(0.20766,0.42691,0.26366,0.30357,0.31819,0.28636,0.37758),xlab="HR and 95%CI",logeffect=T,xaxt="n")

axis(side=1,at=c(0,0.2,0.4,0.6,0.8,1.0,1.2,1.4,1.6,1.8,2.0),labels=c(0,0.2,0.4,0.6,0.8,1.0,1.2,1.4,1.6,1.8,2.0))

However, in the plot the x axis is on a log scale and tends to overextend the left end of the axis. How can I transform the x-scale on a linear scale with equidistant points?

Thank you very much for your attenction

Mic

        [[alternative HTML version deleted]]



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Oct 20 20:50:10 2005

This archive was generated by hypermail 2.1.8 : Sun 23 Oct 2005 - 19:07:37 EST