Re: [R] Graph Order in xyplot

2008-07-01 Thread hippie dream
as.table =TRUE was exactly what I needed. Also thanks for the little aside. Gabor Grothendieck wrote: > > Here are some ways of rearranging panels: > > library(lattice) > p <- xyplot(Sepal.Length ~ Sepal.Width | Species, iris) > p > p[c(2, 1, 3)] > > xyplot(Sepal.Length ~ Sepal.Width | Specie

Re: [R] Graph Order in xyplot

2008-07-01 Thread Deepayan Sarkar
On 7/1/08, Sam Albers <[EMAIL PROTECTED]> wrote: > I have constructed a Trellis style xyplot. > > lengthf <- factor(length) > xyplot(SLI$velocity ~ SLI$width | SLI$lengthf, layout = c(2,7), xlab = > "Width (cm)", ylab = "Velocity (m/s^2)", col = "black") As an aside, the recommended incantation

Re: [R] Graph Order in xyplot

2008-07-01 Thread Gabor Grothendieck
Here are some ways of rearranging panels: library(lattice) p <- xyplot(Sepal.Length ~ Sepal.Width | Species, iris) p p[c(2, 1, 3)] xyplot(Sepal.Length ~ Sepal.Width | Species, iris, as.table = TRUE) On Tue, Jul 1, 2008 at 6:20 PM, Sam Albers <[EMAIL PROTECTED]> wrote: > I have constructed a Tre