All codes have been tested on local Windows machine running R version 4.0.2.

To rerun the codes 3, you have to modify the R working directory by the function setwd()

The codes 1,2, and 4 have been tested on this local fold. 