Re: [R] conditional assignment of colors in xyplot()

2010-09-30 Thread nathan pellegrin
Thank you, Deepayan, for the answer - and for creating amazingly helpful tools! Thanks also to Jim Lemon who pointed out a typo in the code: S2 < .025 should read S2 > .025, Nathan On Thu, Sep 30, 2010 at 5:21 AM, Deepayan Sarkar wrote: > On Mon, Sep 27, 2010 at 7:11 AM, nathan pellegrin > wr

Re: [R] conditional assignment of colors in xyplot()

2010-09-30 Thread Deepayan Sarkar
On Mon, Sep 27, 2010 at 7:11 AM, nathan pellegrin wrote: > # Dear R Community, > > # I have this data frame: > > df1 <- data.frame( >        F1 = factor( c( rep("D1",12),rep("D2",12),rep("D3",12) ) ), >        F2 = factor( rep( rep( paste("O",1:6,sep=""), rep(2,6) ), 3) ), >        F3 = factor( re

[R] conditional assignment of colors in xyplot()

2010-09-27 Thread nathan pellegrin
# Dear R Community, # I have this data frame: df1 <- data.frame( F1 = factor( c( rep("D1",12),rep("D2",12),rep("D3",12) ) ), F2 = factor( rep( rep( paste("O",1:6,sep=""), rep(2,6) ), 3) ), F3 = factor( rep( c("V1","V2"), 18 ) ), S1 = c(8.840955e-02,2.546822e-01,7.5