Hello, I am attempting to create a bar plot that contains a range of possible response values on the x-axis of 1 to 5 and contains barplots for the number of responses even in the event that there are 0 responses. For example, I have a data set that contains values of 2, 3, 4, and 5 but I would also like my graph to show that there are no 1's.
I have attached the resulting graph. The appropriate values should be 0 - Strongly Disagree, 1 - Somewhat Disagree, 2 - Neutral, 7 - Somewhat Agree, and 12 - Strongly Agree. Any suggestions would be much appreciated as I am new to R. Thanks, Steve http://r.789695.n4.nabble.com/file/n2315414/graph.jpg -- View this message in context: http://r.789695.n4.nabble.com/Plotting-range-of-values-in-barplot-tp2315414p2315414.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.