Here are the materials and preparation instructions for the training course Modelling behavioural data using R. This is a brief, basic, practical introduction to working in R, and to linear statistical modelling. The course consists of a PDF to work through (download here: course PDF) plus eight associated files: six data files and two script files (download here and copy them to a convenient folder on your computer).
The course uses two applications, R itself, and RStudio. It would be a good idea to install R and RStudio on to whatever computer you plan to work from before beginning. You need to install R before installing R Studio. You install R from: https://cran.r-project.org/ and RStudio from https://www.rstudio.com/products/rstudio/download/ (Desktop version, Open Source licence).
There are six sessions to work through, plus some useful bits and pieces. Each session is short enough to be worked through in a single setting if all goes well. The topics covered in the course are the following:
- Introducing R and RStudio
- Introducing the General Linear Model
- Plotting and interactions
- Generalized and mixed models
- Model selection and meta-analysis
- Writing R functions, programming and simulation
- Useful bits and pieces
These materials are completely free and openly shareable, but please let me know if you are using them, and if you encounter any problems.