I\'m a novice with ggplot2 and have a question about generating a stacked bar plot. I checked the book and the dedicated webpage, but can\'t solve the problem. I have two fa
For the first graph, just add position = 'fill' to your geom_bar line !. You don't actually need to scale the counts as ggplot has a way to do it automatically.