阅读背景:

重新排序因子会产生不同的结果,具体取决于加载的包

来源:互联网 

I wanted to create a barplot in which the bars were ordered by height rather than alphabetically by category. This worked fine when the only package I loaded was ggplot2. However, when I loaded a few more packages and ran the same code that created, sorted, and plotted my data frame, the bars had reverted to being sorted alphabetically again. I wanted to create a barplot in which the bars




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: