Re: [R] problem with xyplot

2011-03-22 Thread askh
Thank you all for the help. After I used proper subsetting, it all worked fine. And yes, I am open to receiving a prize for the most ancient version of R in use... Best, alina -- View this message in context: http://r.789695.n4.nabble.com/problem-with-xyplot-tp3391822p3398070.html Sent from t

[R] problem with xyplot

2011-03-20 Thread askh
Hi all, I am having a problem using xyplot from lattice library. I am plotting one variable against another one, conditioning on two other variablesm one of which has 3 levels and the other 6 levels. The output is thus a 6x3 panel plot. Here's my code: print((xyplot(CloDurPercent[CloDurNA != 'NA'