【发布时间】:2020-12-11 07:43:35
【问题描述】:
我正在尝试在代码中添加平均大小的 geom_smooth 线。
ggplot(data = Birds,
aes(Species, size, color=Subject)) +
geom_line() +
labs (x = "Species",
y = "Size(cm)",
title = "Size and Species of Birds") +
theme_bw()
【问题讨论】:
-
你能提供更多关于你所追求的信息吗?有没有可以分享的例子?