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)
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)
本文标题:boxplot
本文链接:https://www.haomeiwen.com/subject/huiaqktx.html
网友评论