Re: [R] Boxplots over a Scatterplot

2010-07-07 Thread Peter Ehlers
On 2010-07-07 18:24, fsch wrote: 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 fut

Re: [R] Boxplots over a Scatterplot

2010-07-07 Thread Michael Friendly
Try scatterplot() in the car package. It draws boxplots for X & Y in the margins, auto scaled to the axes fsch wrote: 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 p

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

Re: [R] Boxplots over a Scatterplot

2010-07-07 Thread Peter Ehlers
Would it really be so hard to provide commented, minimal, self-contained, _reproducible_ code ? -Peter Ehlers On 2010-07-07 15:16, fsch wrote: 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 s