[R] Stacked barchart in ggplot (or other library)
Bart6114
bartsmeets86 at gmail.com
Fri Jan 20 15:54:39 CET 2012
Hey,
I want to create a stacked barchart in R for the following dataset
(http://pastebin.com/pyHUNgr2):
# usage capacity diff
1 4 10 6
2 2 20 18
3 5 10 5
The stacked barchart should, in one plot show each line of the dataset as a
stacked bar using data from 'usage' and 'diff' to create the stacked bar.
I can't find a good example of how to do this on the ggplot2 site.
Thanks in advance!
--
View this message in context: http://r.789695.n4.nabble.com/Stacked-barchart-in-ggplot-or-other-library-tp4313455p4313455.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list