On Nov 28, 2007, at 5:59 PM, Yupu Liang wrote:
> Hi,
>
> I'm using boxplot in R to show box-whiskers plots for about 15
> categories of data. I'd like to display ALL of the data points--not
> just the outliers. Does anyone know if there's a parameter setting
> that will accomplish this with boxplot? Other options would be to
> overlay the plotted points on top of the boxes?
I think you will want to overlay the points. E.g.:
x<-rnorm(30)
y<-factor(rep(4:6,10), labels=LETTERS[1:3])
boxplot(x~y)
points(y,x)
> Thanks a lot!
> Yupu
Haris Skiadas
Department of Mathematics and Computer Science
Hanover College