Linear regression in R

Linear regression is a fundamental statistical technique for modeling the relationship between a continuous dependent variable and one or…