############################################################################## ###Please note that the code and data sets for this example have to be kept### ###in different repositories due to license agreements.####################### ############################################################################## ###The DOI for dataset repository is 10.25405/data.ncl.14331314############### ###The DOI for code repository is 10.25405/data.ncl.14447670################## ############################################################################## This is a README file for the CodeExample.rmd file. The file is written in R language. You can run the CodeExample.rmd file in R Studio (recommended) or R GUI. You will need to install and upload the "knitr" package from CRAN. Alternatively, you can copy and paste R commands from the CodeExample.pdf file. You won't need "knitr" for this. In it's current form, the script will take a couple of minutes to run. For executing MCMC runs that are > 1e4 iterations, it is strongly recommended to copy the code into an R script and run it directly in the console. The MCMC sampler has a progress bar which is useful but not visible in the .rmd version. Guidance on how to run .rmd files in R Studio can be found here: https://rmarkdown.rstudio.com/lesson-2.html Guidance on how to run .rmd files in R GUI can be found here: https://community.rstudio.com/t/launch-a-file-rmd-markdown-from-rgui-without-using-rstudio/19086 It is strongly suggested that you firstly read through the .pdf document before executing the .rmd document.