I do a simple linear regression mod <- lm(y ~ x) and I plot its residuals, doing plot(mod$residuals). Two questions:
I need to plot the line of the regression in the chart where I plotted the residuals, how can I do it?
I need to know the points of this line, because I should plot this line in another application, so I need those points (as a vector), how can I do?
Thank you!