############################################################################## 
#
#  About
#
############################################################################## 

- All work was done in R version 4.0.3.
- .Rmd compilation was done in RStudio Version 1.4.1103.
- Handling of large .csv files was done in Julia.




############################################################################## 
#
#  .Rmd
#
############################################################################## 

- The .Rmd file can fully reproduce the .pdf output.
- In order to compile the .Rmd file, please put the files in 
  rmd-dependencies.zip into the same folder, and compile using RStudio.




############################################################################## 
#
#  .R Scripts
#
############################################################################## 

- The full program can be run using the two provided .R scripts.

1. First, run FullrankMOGP-SmokerStatus.R, which fits the MOGP and produces 
   its predictions and plots.

2. Next, run GLM.R which does the GLM portion.


WARNING: There can be memory issues in running this code.  
	 If the user is running into memory issues, it is 
	 recommended to either run it on a cluster and/or to remove
	 largeobjects from R memory after they are no longer needed,
	 and to run gc() occasionally (after removing objects
	 and/or after completing model fitting)