且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

R箱图频率

更新时间:2022-06-16 23:30:37

使用 boxplot ,然后再汇总数据。

use boxplot before you summarize your data.

boxplot(var1)

如果要查看每个拆分的分布,请使用公式格式:

If you want to see the distribution per split, use the formula format:

boxplot(var1 ~ cut(var2, 12))