Followup: Re: [R] Interaction Plots in R

Faheem Mitha faheem at email.unc.edu
Wed May 24 04:11:26 CEST 2000


I think it would be extremely useful to have code for interaction
plots. This is something I missed when working with linear models on
R. But why not add it to the R-base?          
                                             Faheem.

On Wed, 24 May 2000, Ko-Kang Wang wrote:

> Ah yes.  I've just tested the code and it proved to be extremely good.  Thank you.
> 
> I actually think it will be a good idea to put up a package (library), with
> examples and help files etc...I don't know how the others on this list think about
> this idea, but I would certainly like to see such a package in CRAN.
> 
> If you don't mind, I could put up a package for you and e-mailed it to you.
> 
> Thanks again.
> 
> Ko-Kang
> 
> Kaspar Pflugshaupt wrote:
> 
> > >>
> > >> Ko-Kang Wang wrote:
> > >> Is there a function to do interaction plots in R?
> > >> I know in Splus I can simply use interaction.plot()
> > >
> > > Thanks.
> > > I don't think there's such a function, so I wrote one some time ago. It takes
> > > two factors f1, f2 and a response variable data.
> >
> > Well, I've been using that function a lot lately and so I've improved it
> > considerably, up to the point of being useful. Having a bit of a bad
> > conscience for my last version (it was rather ugly), I'd like to post a
> > better one. It uses colours, draws a legend (which can be reordered) and
> > does a better job with axis labels. What's more, I've since discovered the
> > "matlines" function :-) .

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list