[R] lattice: put key where unused panel would have been

From: Benjamin Tyner <btyner_at_stat.purdue.edu>
Date: Mon 22 Jan 2007 - 21:18:28 GMT


Hi,

Say I have

z<-data.frame(y=runif(190),

                       x=runif(190),
                       f=gl(5,38),
                       g=gl(19,10))

plot<-xyplot(y~x|g,
                     data=z,
                     layout=c(5,4),
                     groups=f,
                     auto.key=TRUE)

How might one place the key in the empty space where the twentieth panel would have been?

Thanks,
Ben



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue Jan 23 08:29:26 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Tue 23 Jan 2007 - 00:30:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.