[R] ggplot stacked bar chart help

Ryan Garner ryan.steven.garner at gmail.com
Fri Feb 5 21:06:42 CET 2010


Almost there!

So my previous data example was just a small subset of my true data. I have
all the months from 2007-2009 in order. So when I create the barplot
following your script, it bins all 12 months for each year -- a stacked
barplot with 3 bars (2007,2008,2009), which I don't want. I want each month
to be a seperate bin. i.e. JAN07,FEB07,...,DEC09. Thanks for your help.

volume  type  month
100       A      JAN07
100       A      FEB07
....        ....    ....
100       A      DEC09
100       B      JAN07
100       B      FEB07
....        ....    ....
100       C      DEC09
100       C      JAN07
100       C      FEB07
....        ....    ....
100       C      DEC09
-- 
View this message in context: http://n4.nabble.com/ggplot-stacked-bar-chart-help-tp1470582p1470725.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list