On Fri, Jul 3, 2009 at 12:07 AM, Antonio P. Ramos<[email protected]> wrote: > On Thu, Jul 2, 2009 at 2:27 PM, Robert W. Hayden <[email protected]> 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 _______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-sig-teaching
