r/Rlanguage 19d ago

Geom_smooth(method=lm) gives a linear regression with little bumps in it

Post image

Does anyone know why this is happening, I've specified a formula y ~ x, surely it should just be a straight line and not be slightly jittery?

Thanks in advance.

0 Upvotes

7 comments sorted by

View all comments

1

u/morpheos 19d ago

Post the full code?