# How to get the points of a linear regression line?

I do a simple linear regression mod <- lm(y ~ x) and I plot its residuals, doing plot(mod\$residuals). Two questions:

1. I need to plot the line of the regression in the chart where I plotted the residuals, how can I do it?

2. 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!

-

predict(mod)

abline(mod)