[R] Problem with interaction.plot()

Kaiya Liu liu.262 at osu.edu
Fri Feb 8 22:57:22 CET 2002


Thank you very much --- I thought it was just me not doing the right thing.

Another related problem with the interaction.plot () function. It doesn't 
plot for the group that has one for more missing values. Say I have a Y 
variable and two factors A and B, where A has 3 levels and B has two 
levels. There are a few missing values for Y when B is at level 1. When you do
         interaction.plot (A, B, Y)
you will have a plot missing the lines for B = 1.

Kaiya Liu



At 02:07 PM 2/8/02 +0100, Uwe Ligges wrote:
>Kaiya Liu wrote:
> >
> > Hi,
> >
> > I encountered a problem when I did interaction plots using the
> > interaction.plot() function. The labels for the trace factor appeared on
> > the plot when I did the plots in separate windows, but disappeared/cut off
> > when multiple plots were placed in one window. Can anybody help me?
>
>The calculation of the width of the legend is really difficult in that
>case in goes wrong, because it is based on heuristics for a single plot.
>I'll send a bug report in a few minutes.
>
>As a workaround I'd suggest to use interaction.plot(..., legend=FALSE)
>and add a legend with legend() manually.
>
>Uwe Ligges
>-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
>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
>_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._

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