GGPLOT:whisker geom_boxplot(箱须图)

2023-05-18  本文已影响0人  倪桦

1、ease way

 ggplot(iris, aes(factor(Species), Sepal.Width, fill = Species))+    stat_boxplot(geom ='errorbar') + geom_boxplot()



Exploring ggplot2 boxplots – Defining limits and adjusting style | R-bloggers
r - How to add horizontal lines to ggplot2 boxplot? - Cross Validated (stackexchange.com)

上一篇下一篇

猜你喜欢

热点阅读