Re: [R] Lattice plots and missing x-axis labels on second page

2011-11-02 Thread Evans, David G (DFG)
ain. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Evans, David G (DFG) Sent: Wednesday, November 02, 2011 3:24 PM To: r-help@r-project.org Subject: [R] Lattice plots and missing x-axis labels on second page Hello, I'm trying to

[R] Lattice plots and missing x-axis labels on second page

2011-11-02 Thread Evans, David G (DFG)
Hello, I'm trying to make a lattice plot (using xyplot()). I have included a "layout=c(3,4)" statement, giving me 12 plots per page and an "as.table=TRUE" statement, directing the way the plots are laid out. I have 18 plots altogether and so 6 of them end up on the second page. Everything looks f

[R] lattice histogram and grouping

2011-03-21 Thread Evans, David G (DFG)
Hi, >From the following pseudo-code (tweaked from another user): library(lattice) variable<-sample(rep(1:2,100)) individual<-rep(1:3, length(variable)) group<-rep(LETTERS[1:2],length(variable)/2) mydata<-data.frame(variable,individual,group) individual<-as.factor(individual) group<-as.factor(group

[R] lattice histogram function and groups

2011-03-18 Thread Evans, David G (DFG)
Hi, >From the following code (tweaked from another user): variable<-sample(rep(1:2,100)) individual<-rep(1:3, length(variable)) group<-rep(LETTERS[1:2],length(variable)/2) mydata<-data.frame(variable,individual,group) individual<-as.factor(individual) group<-as.factor(group) histogram(~