Error with `ggplot2` when trying to add a smooth line to a scatter plot with different group levels
👀 Views: 0
💬 Answers: 1
📅 Created: 2025-08-21
ggplot2 data-visualization r
I'm running into an issue when trying to add a smooth line to a scatter plot using `ggplot2`. I want to create a scatter plot of `mpg` vs `wt` from the `mtcars`...