使用geom_boxplot绘制基本的箱线图:. library(ggplot2) ggplot(ToothGrowth, aes(x=dose, y=len)) + geom_boxplot(). 2,设置离群点(outlier).
確定! 回上一頁