Skip to content
Prev 308798 / 398503 Next

plotting multiple variables in 1 bar graph

If you have your data organized in a matrix like the one printed at the
bottom of your jpg, barplot will produce the same graph:
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8] [,9]
[1,]   91   52   46   94   90   51   74   83   38
[2,]   94   74   72   98   14   39   81    1   44
[3,]   29   13   93   12   99   91   39   21    4
[4,]   83   66   26   47   95   45   69   91   97
[5,]   64   71   46   56    8   84    0   61   43
-------------------------------------------------
David L. Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77840

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org]
On Behalf Of Macy Anonuevo
Sent: Tuesday, October 23, 2012 8:32 AM
To: r-help at r-project.org
Subject: Re: [R] plotting multiple variables in 1 bar graph

Thank you for replying.

On Tue, Oct 23, 2012 at 9:11 PM, PIKAL Petr [via R] <
ml-node+s789695n4647131h99 at n4.nabble.com> wrote:

            
email]<http://user/SendEmail.jtp?type=node&node=4647131&i=0>[mailto:
email]<http://user/SendEmail.jtp?type=node&node=4647131&i=1>
plot
each
rubble
10
(coral,
FUN=c("mean"),
change
"VADeaths" is plotted over time? I'm hoping to have multiple variables
plotted over time, with the bars clustered by variable so that you can
see
how each variable changes over time.
don't
even know where to start.
<http://r.789695.n4.nabble.com/file/n4647099/abdeens_benthic_cover.jpg>
the
or
http://r.789695.n4.nabble.com/plotting-
<http://user/SendEmail.jtp?type=node&node=4647131&i=2>mailing list
<http://user/SendEmail.jtp?type=node&node=4647131&i=3>mailing list
discussion
http://r.789695.n4.nabble.com/plotting-multiple-variables-in-1-bar-graph
-tp4647099p4647131.html
here<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=unsubs
cribe_by_code&node=4647099&code=cmFkaWFudC5zdGFyc0BnbWFpbC5jb218NDY0NzA5
OXwtNDIxODQ0NzMx>
NAML<http://r.789695.n4.nabble.com/template/NamlServlet.jtp?macro=macro_
viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces
.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web
.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.
naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3A
email.naml>