Re: [R] Boxplots over a Scatterplot

2010-07-07 Thread fsch
I managed to solve the problem myself using: q=sort(unique(foram$stage[which(foram$length>0)])) boxplot(foram$logl~foram$stage, data=foram, outline=F, at=q, axes=TRUE, add=TRUE, col="gray82", medlwd=1) points(foram$stage,foram$logl, cex=.1) However, for future reference since this was my fir

[R] Boxplots over a Scatterplot

2010-07-07 Thread fsch
Hello- I'm new to R, coding and stats. (Oh no.) Anyway, I have about 12000 data points in a data.frame (dealing with dimensions and geological stage information for fossil protists) and have plotted them in a basic scatter plot. I also added a boxplot to overlay these points. Each worked fine i