[R] Automating Plot and Model Generation

Bert Gunter gunter.berton at gene.com
Wed Dec 21 16:22:34 CET 2011

On Wed, Dec 21, 2011 at 6:57 AM, Rich Shepard <rshepard at appl-ecosys.com> wrote:
>  I need to generate 6 x-y scatter plots (lattice xyplot) for each of 11
> data frames. I'm sure the tedium of doing these one at a time can be avoided
> by writing a script that uses nested for loops or the apply() function. My
> Web search has not provided me with a tutorial on R programming that will
> introduce me to the language and allow me to write such a script.

Well, you may have to invest in a book or two to get what you want.You
can start with R's own "An Introduction to R," but if that won't do,
check the CRAN website, specifically the R Home Page under the "Books"
link. John Chambers's latest (Software for Data Analysis) is pretty
comprehensive. O'Reilly has a couple in their series, also.There are
many at various levels and emphases though.

For a shorter resource, check out Patrick Burns's website. He writes
well for newbies.


>  Please provide pointers to resources that I can read to learn how to
> automate this process (and similar ones that I know will soon be needed).
> TIA,
> Rich
> ______________________________________________
> R-help at 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.


Bert Gunter
Genentech Nonclinical Biostatistics

Internal Contact Info:
Phone: 467-7374

More information about the R-help mailing list