Displaying 1 result from an estimated 1 matches for "tp19147920p19148953".
2008 Aug 25
2
ggplot boxplot - how to order categories
I am interested in creating a boxplot using ggplot or qplot where I can
specify the order of the categories being plotted on the x-axis. For
example, the following command plots the categories (diamond color) in
alphabetic order (D, E, ..., J):
qplot(color, price/carat, data=diamonds, geom="boxplot")
I want to know how I can modify this command so that the categories are
plotted in a