Code contains the R files and plot images