[R] X Stacked bars of Y values, with bar segments colored according to Z

Daler dale_ramsden at med.unc.edu
Tue Sep 29 20:54:10 CEST 2015


I'm trying to generate a bar plot from the following data frame
seq	left	deleted	right	mh
1	125	175	132	0
2	125	225	82	3
3	200	150	82	3
4	300	80	52	2
5	165	205	62	7
where x="seq", y is a stack of "left", "deleted", and "right" values. then
color left and right segments with color from palette (e.g. brewer 
yellow-orange-red) as determined by z="mh"
Any help appreciated



--
View this message in context: http://r.789695.n4.nabble.com/X-Stacked-bars-of-Y-values-with-bar-segments-colored-according-to-Z-tp4712955.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list