Dear R helpers, I am trying to plot a stacked graph.

I have following data

Month      Core(%)   Non_core(%)
1             45                55
2             48                52 
3             36                64 
4             60                40
5             35                65


Then for each of the months on X-axis, how do I plot stacked graph for core and 
non_core portion?

I have tried the code as given in Quick_R, but i think its not appropriate

The code was as -

counts <- table(core, non_core)
barplot(counts, main="Core and Non-core")

Please guide.

Thanks and regards

Julia


************************************************



Only a man of Worth sees Worth in other men



************************************************


      
        [[alternative HTML version deleted]]

______________________________________________
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