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

Raubertas, Richard richard_raubertas at merck.com
Mon Jan 13 22:48:02 CET 2003


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.


------------------------------------------------------------------------------




More information about the R-help mailing list