Jesse Poland wrote:
I would like to combine multiple pairs plots (each one being a matrix of correlation plots) into a single graphic. I have tried the par() function, which works well to combine several simple graphs. However, the pairs() graph seems to override the par() function and produce an new plot, rather than combining the plots into a single graphic.
This looks like a job for splom in lattice.

library(lattice)
tmp <- cbind(environmental, group=rep(1:2, length=111))
splom( ~ tmp[,1:4] | tmp$group)

______________________________________________
R-help@r-project.org 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.

Reply via email to