The .r script in the R Script component will read in all data files and generate all analyses and figures.
To set up the folder structure:
- Place the .r file (from R Script component) in a folder
- Create a folder within that folder called `In_RawData` and put all .csv files (from Experiment Data - Raw Files component) in there.
- Create 3 empty folders at the same level called `Mid_ProcData`, `Out_Tables`, and `Out_Plots` to contain the processed data files, table outputs, and plot outputs, respectively.
- Make sure the working directory in R is set to find the appropriate files (or use an RStudio Project with the above folder structure).
Alternatively, you can of course edit the code to fit your own preferred folder structure.
For explanations on any data files, please see the files in the Codebook component.