How To Find Least Squares Regression Line Rstudio. The simple linear regression tries to find the best line to predict sales on the basis of youtube advertising budget. Add the regression line to the scatterplot you generated above.

Jump to the next section to find out! Last updated over 6 years ago. See the tutorial for the appropriate commands.