Re: [R] Odp: Multifactor boxplots

2011-07-29 Thread David Winsemius
On Jul 29, 2011, at 8:05 AM, Petr PIKAL wrote: Hi Dear All I would like to produce interaction boxplots and this seems to work: par(mfrow=c(2,2)) A=sample(rnorm(50,50,10)) B=sample(rnorm(50,100,10)) Test=merge(A,B,by=0)#by=0 where 0 is the row.names TreatA=(gl(2,50,100,labels=c("High","Low

[R] Odp: Multifactor boxplots

2011-07-29 Thread Petr PIKAL
Hi > > Dear All > > I would like to produce interaction boxplots and this seems to work: > > par(mfrow=c(2,2)) > A=sample(rnorm(50,50,10)) > B=sample(rnorm(50,100,10)) > Test=merge(A,B,by=0)#by=0 where 0 is the row.names > TreatA=(gl(2,50,100,labels=c("High","Low"))) > TreatB=rep(gl(2,25,50,lab