[R] Bug in boxplot(..., add=TRUE) ?

Roger Peng rpeng at stat.ucla.edu
Tue Jan 14 03:28:06 CET 2003


This doesn't appear to be a bug, you can use `axes = FALSE' in the call to
boxplot().

-roger
_______________________________
UCLA Department of Statistics
rpeng at stat.ucla.edu
http://www.stat.ucla.edu/~rpeng

On Mon, 13 Jan 2003, Raubertas, Richard wrote:

> R 1.6.1 on Windows NT4:
> 
> The boxplot() function appears to draw its own tick marks
> and axis values even when called with add=TRUE.  As a toy
> example, try
> 
> x <- rnorm(100)
> f <- factor(rep(1:4, each=25))
> plot(c(0,4), c(-3,3), type="n", xaxt="n", yaxt="n")
> boxplot(x ~ f, add=TRUE)
> 
> My expectation is that a high-level plotting function will
> not mess with the axes when called with add=TRUE.  Is this
> a bug or is my expectation wrong?
> 
> Richard Raubertas
> Biometrics Research, RY84-16
> Merck & Co.
> 
> 
> ------------------------------------------------------------------------------
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> http://www.stat.math.ethz.ch/mailman/listinfo/r-help
>




More information about the R-help mailing list