Rainer M Krug <[EMAIL PROTECTED]> writes:

> Hi
> 
> I know this is a basic question and I know I have done it before but I 
> can't find the answer any more.
> 
> I have a data set, say:
> 
> F1, F2, Value
> 
> F1 and F2 are Factors.
> 
> I would like to plot
> 
> plot(TheCombinationOf(F1, F2), Value)
> 
> I remember there was a function for TheCombinationOf() but I don't 
> remember the name.
> 
> I could create a new factor based on F1 and F2, but I would prefer the 
> other soluytion.
> 
> Any help welcome,

F1:F2
interaction(F1,F2)

There are some differences so lookup the help page for the latter.

-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to