geom_point
1
ggplot(gapminder,
2
aes(x=gdpPercap, y=lifeExp, color=continent)) +
3
geom_point() + geom_smooth(method='loess', formula='y~x') +
4
facet_wrap(~continent)
Copied!
For smooth graphs
Copy link