首先,可以使用聚合计算组平均值:means 此数据集可与geom_text一起使用:library(ggplot2)ggplot(data=PlantGrowth, aes(x=group, y=weight, fill=group)) + ...
確定! 回上一頁