This work was created by Wolfgang Forstmeier, with coding contributions from Yifan Pei and Malika Ihle.
It is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
- Have R and RStudio installed. If you don’t, follow the first part of these instructions
- Know some R basics (e.g. how to select a value in a data.frame, how to create a vector). If you don’t, visit the tutorial: https://www.tutorialspoint.com/r/index.htm
Please download this repository and turn it into a RStudio project by following these instructions:
- Click on the green 'Code' button on the top right of this repository and select 'download ZIP'
- Once the .zip file downloaded, extract it and place the folder in the desired directory (e.g. Documents)
- Open RStudio, and go to ‘File’, ‘New Project…’, and select ‘Existing Directory’
- Select the downloaded (and extracted) folder, by clicking on ‘Browse’, then select ‘Create Project’
- In the panel containing the ‘Files’ tab, find the script 'Statistical-mistakes.R', and open it by double clicking on it