[R] How do I order xyplot line points?

2010-11-07 Thread Alex Reynolds
I have the following xyplot figure: http://img577.imageshack.us/img577/686/filesizeresults1200.png The data are organized in a matrix file as follows: Type ElementsChromosome Time bedGz 1200chr114.240 bedGz 1200chr27.949 bedGz 1200

Re: [R] How do I order xyplot line points?

2010-11-07 Thread baptiste auguie
Hi, try this, xyplot(Time~Chromosome|factor(Elements), data = mtx[order(mtx$Chromosome), ], ... [snipped]) HTH, baptiste On 7 November 2010 13:17, Alex Reynolds reyno...@u.washington.edu wrote: I have the following xyplot figure:  

Re: [R] How do I order xyplot line points?

2010-11-07 Thread Alex Reynolds
Perfect, thanks! On Nov 7, 2010, at 4:59 AM, baptiste auguie wrote: Hi, try this, xyplot(Time~Chromosome|factor(Elements), data = mtx[order(mtx$Chromosome), ], ... [snipped]) HTH, baptiste On 7 November 2010 13:17, Alex Reynolds reyno...@u.washington.edu