ggplot2-solutions
ggplot2-solutions copied to clipboard
Exerceise 5.1.5 #5. Use geom_smooth() to detect trens in a large dataset
The question asks which geom_*() to use ti detect the trend i a large dataset.
geom_smooth()
seems reasonable, especially in a large data set.
++ In 3.5.2 Different Groups on Different Layers, Hadley used it to detect the trend.
https://github.com/kangnade/ggplot2-solutions/blob/e6ef9e3b271599f6e97afc0f8a3f012f276f9385/ggplot2_solutions_chapter5.Rmd#L183
Warmly, Hossam