📅  最后修改于: 2022-03-11 14:51:59.244000             🧑  作者: Mango
ggplot(iris, aes(factor(Sepal.Length), Sepal.Width)) +
geom_boxplot() +
geom_smooth(method = "lm", se=FALSE, color="black", aes(group=1))