Answers for "ggplot: boxplot with trendline"

R
0

ggplot: boxplot with trendline

ggplot(iris, aes(factor(Sepal.Length), Sepal.Width)) +
  geom_boxplot() +
  geom_smooth(method = "lm", se=FALSE, color="black", aes(group=1))
Posted by: Guest on June-23-2020

Browse Popular Code Answers by Language