Followup: Re: [R] Interaction Plots in R

Ko-Kang Wang Ko-Kang at xtra.co.nz
Wed May 24 09:48:42 CEST 2000


Well, as I said.  I have actually put it into a package which has a help file and an
example.

I agree with Kaspar, it may not be ready to put into R base.  I will send the package file
to Kaspar in an hour or so as I've almost finished putting them together (now I'm just doing
some final checking), and if he decides to put it up, anyone who is interested can download
it, improve it (both the code and help files!), then perhaps later on it can be placed into
R Base.

I am just curious why nobody brought this interaction plot idea up, since R has be around
for quite a few years!

Cheers,

Ko-Kang
Martin Maechler wrote:

> >>>>> "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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

--
-----------------------------------------------------------------------------------
 Ko-Kang Wang
 Undergraduate Student
 Computer Science/Statistics Double Major
 University of Auckland
 Auckland 1005
 New Zealand
-----------------------------------------------------------------------------------


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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