- Install R programming language
- Install IDE that supports R programming language (e.g., RStudio)
- Clone this GitHub repository to your local environment
- With your preferred IDE, open the directory where you clone the repository1
- Install the required R packages
- Run the commands in any of the four R script files from top to bottom2