R Ggplot2 Adding Regression Line Logic Stack Overflow

R Ggplot2 Adding Regression Line Logic Stack Overflow