On Nov 20, 2009, at 6:54 PM, Gary wrote:

Hi R Folks,

I need to plot a stacked bar plot with row labels as A,B,C,... and each bar
divided by x,y,.... Here is the data:

 x y
A 1 .5
B -.2 .6
C .3 -.7
D .4 .8
(for e.g. x,y,... could be air pollutants and A,B,C,... could be months)

At the moment the letters appear to be labels.


Issue 1) It has negative values.
Issue 2) It contain two categorical variables.

"It"??? (In my opinion, the indefinite pronoun should be severely deprecated in technical discourse.)


Can anyone help me?

RSiteSearch("stacked barplot")  # 44 hits



Thanks,
Gary


and provide commented, minimal, self-contained, reproducible code.

David Winsemius, MD
Heritage Laboratories
West Hartford, CT

______________________________________________
R-help@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.

Reply via email to