Displaying 1 result from an estimated 1 matches for "tp2964511p2964511".
2010 Oct 06
2
ggplot2 barplot in decreasing frequency
...w can I tell ggplot to sort the bars?
# First bar = "bb" (3), second bar "cc" (2) and third bar "aa" (1)
p = gplot(df)
p + aes(v2) + geom_bar()
Thank you,
Morten
--
View this message in context: http://r.789695.n4.nabble.com/ggplot2-barplot-in-decreasing-frequency-tp2964511p2964511.html
Sent from the R help mailing list archive at Nabble.com.