I have a data set of the following form: Johnson 4 Smith 4 Smith 2 Smith 3 Garcia 1 Garcia 4 Rodriguez 2 Adams 2 Adams 3 Adams 4 Turner 4 Turner 3
And I'd like to create a stacked bar chart that has scores on the x-axis and the bars are broken up by judges name. Whenever I try to do this though (barplot(table(judges,scores)) it always creates more groups than actual judges. Would anyone know how to graph this and color code the names appropriately? -- View this message in context: http://r.789695.n4.nabble.com/Help-Creating-a-Stacked-Bar-Chart-with-Color-Coding-tp2305487p2305487.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ 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.