Followup: Re: [R] Interaction Plots in R

Martin Maechler maechler at stat.math.ethz.ch
Wed May 24 08:29:09 CEST 2000


>>>>> "Faheem" == Faheem Mitha <faheem at email.unc.edu> writes:

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

yes. definitely.  This should go into R base, -- unless Kaspar objects --
and I think for 1.1.0 (due around June 15).

Kaspar (or anyone), can you provide the corresponding help (source) file,
interaction.plot.Rd -- including a few examples {using R builtin datasets} ?

We then will put it into R "base".

Martin Maechler <maechler at stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO D10	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><


    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