[R] forestplot fucntion in rmeta package

Thomas Lumley tlumley at u.washington.edu
Thu Aug 31 17:39:42 CEST 2006

On Thu, 31 Aug 2006, Uwe Ligges wrote:
> zhe zhang wrote:
>> Dear R users,
>> I would like to adjust the x axis the way I wanted using
>> "forestplot(labeltext, mean, lower, upper, align = NULL, xlab = "", zero =
>> 0, graphwidth = unit(2, "inches"), col = meta.colors(), xlog = FALSE)". I
>> tried using xaxt="n" and then redefine the axis using axis(1, at=c(0,0.5,1.0
>> ,1.5,2.0,2.5),label=c(0,0.5,1.0,1.5,2.0,2.5)), but it doesn't work at all.
>> Seems the forestplot function itself does not allow some basic plot option
>> like xaxt="n"? Anybody porvides some hints to solve this problem? Many
>> thanks!
> Either adapt the function yourself and provide a patch to the package
> maintainer, who certainly will be happy if people are contributing
> features and bugfixes, or send a feature request to the package maintainer.

The forestplot() function uses grid graphics, for which xaxt="n" is not 
"some basic plot option". More importantly, although it would be easy to 
not draw the x axis, it wouldn't help at all, since axis() still wouldn't 


Thomas Lumley			Assoc. Professor, Biostatistics
tlumley at u.washington.edu	University of Washington, Seattle

More information about the R-help mailing list