A simple linear regression is when you take data and create a “line of best fit.” It takes all the data points and uses them to predict where future data points may go on the scatter plot. There are ways to compute it manually, but R provides convenient tools to plot it for us.
We are using the built in R dataset, ChickWeight. Using this data we will graph a simple linear regression with one dependent variable, weight.