stat_summary(): add mean points to a box plot p <- ggplot(iris, aes(x=Species, y=Sepal.Length)) + geom_boxplot() p p + stat_summary(fun=mean, geom="point", ...
確定! 回上一頁