Problem
Linear regression is a statistical tool commonly used to find a relationship that exists between a variable and one explanatory variable. What are the factors that affect a linear regression model? How can you accomplish linear regression in R?