THIS README IS FOR THE GRID_MESH/REGULAR_POLYGON_LGCP DIRECTORY, EACH SUB-DIRECTORY WILL ALSO CONTAIN IT'S OWN README FILE.

THIS DIRECTORY CONTAINS 3 SUB-DIRECTORIES THAT CONTAIN THE DATA AND CODE FOR IMPLEMENTING THE SIMULATION STUDIES, THE OUTPUTS FOR THE SIMULATION STUDIES AND THE ANALYSIS OF THE SIMULATION STUDY OUTPUTS, RESPECTIVELY.

- REGPOLLGCP_CODE: this contains the covariate data (GridMeshRegPolLGCPSSCov.rda), mesh (MeshesRegPolLGCP.rda), grids (QuadratsRegPolLGCP.rda), grid centre coordinates (CoordsRegPolLGCP.rda) and the covariates aggregated onto the grids (CovAggGridRegPolLGCP.rda) and R scripts for the implementation of the traditional (GrideshOptimTrad_final.R) and SBC (GridMeshOptim_final.R, GridMeshOptim_TimeErroRuns_final.R) simulation studies. The latter code re-runs and Time Errors produced during the SBC simulation study and moves this error message into a warning message to ensure that, while no error is highlighted as there is output form the re-run with more processors available, there is still a note that there was a need to re-run this particular combination.

- REGPOLLGCP_OUTPUT: this contains the outputs from the two simulation studies. It also contains code to input errors, in particular a `TIME ERROR' for the one run for which a particular grid and mesh for a simulation resulted in a run-time over six hours, which was the time limit on the University of Bath's HPC Balena. The final data sets (those without any additional suffixes) include those with re-run Time Errors using additional processors available. The final (combined) outputs labelled GridMeshRegPolLGCPTradSS.rda or GridMeshRegPolLGCPSBCSS.rda and are created using the GRID_MESH/BalenaOutputCombined_final.R code.

- REGPOLLGCP_ANALYSIS: this contains R scripts which produce tables and plots for the outputs from the two simulation studies and 3 R markdowns that implement these scripts and print a few of the resultant tables and plots. One Rmd is for the traditional simulation study, one for the parameter results of the SBC simulation study and the final for the mean field results of the SBC simulation study.

