Used R Studio to make it all work and get the plots and latex tables out
Several functions i dodnt know but at least they all ran
None
R RStudio
The folder structure meant that the line on the working directory had to change It might be useful to have the raw data folder as a subfolder in R When i clicked source to run the code, it reset the working directory to the directory where the R file was, and then couldnt find the raw data folder
It worked Thank you
I am a slow R reader, so I would benefit from either more comments or an R Markdown web file that explains in English and provides a tutorial for what the code is doing
Slim but clear
Thank you - it was a joy to look through this and make it work
I could copy the latex output tables into overleaf and make beautiful tables instantly