Right now I am trying to remember how to get a scatterplot with boxplots of x and y separately in the margin. I think I need one of the packages but I don't know which. The above is a real call for help but also an example of the kind of thing that is hard in R. In the summer of 2007 I created a web page for AP Statistics teachers (see sig file below). There were lots of resources out there, but it was hard for teachers to find them when they needed them. So I tried to organize them in the order in which the topics might come up in the course. It might be nice to have such a page of R resources that told you, for example, of some R tools for teaching scatterplots. (Actually, I was teaching transformations, and wanted the plot described above as a tool for deciding which variable to transform.) -------> First-time AP Stats. teacher? Help is on the way! See http://courses.ncssm.edu/math/Stat_Inst/Stats2007/Bob%20Hayden/Relief.html Robert W. Hayden in the old library at 212 Main Street (P. O. Box 450) North Troy, VT 05859 phone (802) 988-2587 web site http://statland.org/ email bob statland.org (add your own "@" and save me some spam)
purpose of list
3 messages · Robert W. Hayden, Antonio P. Ramos, Liviu Andronic
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-teaching/attachments/20090702/05cd88a0/attachment.pl>
On Fri, Jul 3, 2009 at 12:07 AM, Antonio P.
Ramos<ramos.grad.student at gmail.com> wrote:
On Thu, Jul 2, 2009 at 2:27 PM, Robert W. Hayden <hayden at mv.mv.com> wrote:
Right now I am trying to remember how to get a scatterplot with boxplots of x and y separately in the margin. ?I think I need one of the packages but I don't know which.
car library by John Fox has a function that does that: I guess is scatterplot() or something like that
Easiest to find it (in my understanding) is to load Rcmdr, load some dummy data
data(Angell, package="car") ,
and then choose "Graph > Scatterplot" which will issue smth similar
scatterplot(mobility~hetero, reg.line=lm, smooth=TRUE, labels=FALSE,
+ boxplots='xy', span=0.5, data=Angell) , which I suspect would do what you need. Liviu