Re: [Rd] order of levels in interaction()

2006-12-01 Thread Martin Maechler
> "BDR" == Prof Brian Ripley <[EMAIL PROTECTED]> > on Thu, 30 Nov 2006 21:48:35 + (GMT) writes: BDR> On Thu, 30 Nov 2006, Deepayan Sarkar wrote: >> Hi, >> >> ?interaction says: >> >> See Also: >> >> 'factor'; ':' where 'f:g' is the similar to

Re: [Rd] order of levels in interaction()

2006-11-30 Thread Deepayan Sarkar
On 11/30/06, Prof Brian Ripley <[EMAIL PROTECTED]> wrote: > On Thu, 30 Nov 2006, Deepayan Sarkar wrote: > > > Hi, > > > > ?interaction says: > > > > See Also: > > > > 'factor'; ':' where 'f:g' is the similar to 'interaction(f, g, > > sep=":")' when 'f' and 'g' are factors. > > > > This is

Re: [Rd] order of levels in interaction()

2006-11-30 Thread Prof Brian Ripley
On Thu, 30 Nov 2006, Deepayan Sarkar wrote: > Hi, > > ?interaction says: > > See Also: > > 'factor'; ':' where 'f:g' is the similar to 'interaction(f, g, > sep=":")' when 'f' and 'g' are factors. > > This is not quite true (or maybe 'similar' is the operative word), since: > >> f <- facto

[Rd] order of levels in interaction()

2006-11-30 Thread Deepayan Sarkar
Hi, ?interaction says: See Also: 'factor'; ':' where 'f:g' is the similar to 'interaction(f, g, sep=":")' when 'f' and 'g' are factors. This is not quite true (or maybe 'similar' is the operative word), since: > f <- factor(1:3); g <- factor(letters[1:3]) > levels(f:g) [1] "1:a" "1: