Full_Name: Landon Sego
Version: 2.3.1
OS: Windows
Submission from: (NULL) (130.20.54.241)


# When calling boxplot(), shouldn't the "axes" and "frame.plot"
# arguments get passed down to bxp()?  

# Two examples where the "frame.plot" and "axes" arguments
# don't seem to work the way one would anticipate:
X <- data.frame(x=as.factor(rep(c(1,2,3), 10)), y=rnorm(30))

# Removes the axes, but doesn't frame the plot
boxplot(y~x, data=X, axes=FALSE, frame.plot=TRUE)  

# Both axes and frame are present
boxplot(y~x, data=X, axes=TRUE, frame.plot=FALSE)  

# However, if we explictly use bxp(), the arguments work as
# we would expect:
Y <- boxplot(y~x, data=X, plot=FALSE)

# Frames plot and no axes
bxp(Y, frame.plot=TRUE, axes=FALSE)

# Produces axes with no frame
bxp(Y, frame.plot=FALSE)

# If I'm mistaken (or misinformed) and this isn't a bug,
# please accept my apologies in advance.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to