[R] Plotting from a list

jim holtman jholtman at gmail.com
Thu Nov 13 22:04:13 CET 2008


Yes you can automate it.  The exact way would depend on how your data
is structured and what you want the graphs to look like.  It is hard
to say without an example of the data and at least the command that
your are using to create a single plot.

On Thu, Nov 13, 2008 at 2:16 PM,  <Steve_Friedman at nps.gov> wrote:
>
> Hello,
>
> I am working with version 2.7.2 on a PC and have 2.8.0 available, but have
> not upgraded completely yet.
>
> I have 6 species for which I've run 6 unique environmental management
> scenarios against for comparison purposes.  Each scenario is run for 36
> years (1965 - 2000).  Some of the species have subpopulations and other do
> not.   For those with subpopulations (A, B, C, D, E, and F) I have
> calculated basic summary statistics.
>
> I would like to develop a series of barplots  for each scenario year
> consisting of six bars representing the subpopulations.  Rather than
> writing 36 lines of code, I'd like to automate this with a loop process,
>
> Any suggestions ?
>
> Thanks
>
> Steve Friedman Ph. D.
> Spatial Statistical Analyst
> Everglades and Dry Tortugas National Park
> 950 N Krome Ave (3rd Floor)
> Homestead, Florida 33034
>
> Steve_Friedman at nps.gov
> Office (305) 224 - 4282
> Fax     (305) 224 - 4147
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?



More information about the R-help mailing list