[R-sig-teaching] purpose of list

Liviu Andronic landronimirc at gmail.com
Fri Jul 3 02:26:40 CEST 2009


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




More information about the R-sig-teaching mailing list