Have you ever used the Pivot Table in Excel? ... stacked bar chart. ggplot(mtcars) + geom_bar( aes(x=factor(cyl), fill=factor(gear)) ) ...
確定! 回上一頁