I have a dataset similar to this:
Area Chemical Machinery Other
Abilene TX Yes No Yes
Akron OH Yes No No
Albany GA Yes Yes No
Albuquerque NM No Yes Yes
Alexandria LA Yes No Yes
I need to use ggplot2 to make a bar plot showing the number of "yeses" in each column. So the final bar plot would have three columns on the x-axis, with y-axis values of 4 for "Chemical," 2 for "Machinery" and 3 for "Other."
Still new to ggplot2, and also not sure how to cleanly find counts of a particular value (in this case, number of "yeses") within each column and graphing it. Thanks!
