How do I sort the bars when the barchart represents the number of occurances?

后端 未结 0 948
南笙
南笙 2021-01-17 03:43

I draw a barchart in R:

ggplot(data, aes(x=rating, fill=rating)) +
geom_bar(stat="count") +
ggtitle("Rating in stories")+
coord_flip()+
xl         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题