項目を並べ替える
reorder
を用いる
g <- ggplot(x, aes(reorder(variable, value), value))
http://stackoverflow.com/questions/3744178/ggplot2-sorting-a-plot
reorder
を用いる
g <- ggplot(x, aes(reorder(variable, value), value))
http://stackoverflow.com/questions/3744178/ggplot2-sorting-a-plot