boxplot

2020-07-07  本文已影响0人  一路向前_莫问前程_前程似锦
image.png
ggplot(ToothGrowth, aes(x=dose, y=len,color=supp)) +
  geom_boxplot(position=position_dodge(1))+
  scale_color_manual(values=c("red", "blue"))+
  geom_jitter(aes(x=xpos),width=.2, alpha=.5)
 
上一篇下一篇

猜你喜欢

热点阅读