a <- c(1:26) b <- rnorm(25) e <- rnorm(25) f <- rnorm(25) g <- data.frame(b,e, a,f)
I would like to plot a agianst all possibilities and then shoot it out to a pdf one graph per page. I think it would be okay to have this as a lattice plot or a ggplot with many graphs per page. I can figure all of that out I think, but I need something like r <- as.matrix(g) plot(.~a, data=r) I think I am missing something. This is for a much larger data frame with named columns and I would like the name of the column to be the name on the y-axis or the main label... On top of this I would like to add a smooth into the mix loess. something like this maybe library(ggplot2) qplot(a, b, data=g)+geom_smooth() but with the previous stipulations thanks for all of your help - I looked at the mail archives and tried plotmat, but this didn't seem to do whaqt I wanted. thanks stephen -- Stephen Sefick Research Scientist Southeastern Natural Sciences Academy Let's not spend our time and resources thinking about things that are so little or so large that all they really do for us is puff us up and make us feel like gods. We are mammals, and have not exhausted the annoying little problems of being mammals. -K. Mullis ______________________________________________ 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.