想要使ggplot2所绘制的箱线图带有最大最小值线,可用stat_boxplot命令,完整如下: stat_boxplot(geom=“errorbar”,width=0.15,aes(color=用于分类的列).
確定! 回上一頁