Re: [R] lattice multipanel strip placement - with two factors

2009-03-23 Thread Dan Kortschak
That's part way to my desired solution, but not completely there. Here's an example: chromosome<-rep(c("A","X","Y"),time=20) type<-rep(c(1:20),times=3) length<-rnorm(60) densityplot(~length | type * chromosome, layout=c(5,12)) What I would like to see is the chromosome strip (A, X, Y) once on th

Re: [R] lattice multipanel strip placement - with two factors

2009-03-23 Thread baptiste auguie
I'm not sure I understood your problem (can you provide an reproducible example?), but perhaps you can try useOuterStrips() in the latticeExtra package (the formatting becomes similar to that of the ggplot2 package, perhaps another option to consider) Hope this helps, baptiste On 23 Mar

[R] lattice multipanel strip placement - with two factors

2009-03-22 Thread Dan Kortschak
Hi, I'm making a multipanel lattice densityplot figure with 2 factors (3 and 20 classes in each factor) with the following statement (the type="percent" is there to prevent plotting the actual points which detract from the figure - is there another way of doing this?): densityplot(~End-Begin | Ty