
Hi list, I have a data set - something like this
dfr <- data.frame(A=factor(letters[1:25]),B=runif(25),                  C=sample(LETTERS[1:4],25,replace=TRUE))
and I want to create a dotplot:
library(lattice)dotplot(A ~ B | C, data=dfr, scales=list(y=list(relation="free")))
but this puts uneven spaces along the y-axis in each panel. drop.unused.levels=TRUE will drop conditioning variables, but does not affect the levels in the y-variable. 
I can get something like what I want with ggplot2:library(ggplot2)ggplot(data=dfr,mapping=aes(x=B,y=A)) + geom_point() +  facet_wrap( ~ C,scales="free_y") 
I wonder if this is possible in lattice?
Thanks!
Stephen 		 	   		  
	[[alternative HTML version deleted]]

