在RI中,想要在计数数据而不是原始数据上创建箱线图.所以我的表架构看起来像 Value | 数 1 | 2 2 | 1 ...
代替
价值 1 1 2 ......
在第二种情况下,我可以简单地做boxplot(x)
r boxplot
boxplot ×1
r ×1