To perform linear regression in R, there are 6 main steps. Use our sample data and code to perform simple or multiple regression.
The goal in this chapter is to introduce linear regression, the standard tool that statisticians rely on when analysing the relationship between interval scale predictors and interval scale outcomes.