Data & Setup
Data
The data used in these materials are provided as a zip file.
First, create a folder on your computer for the course (e.g. mixed-models
). Then, download and unzip the the following data to the project folder you created.
R and RStudio
Windows
Download and install all these using default options:
Mac OS
Download and install all these using default options:
Linux
- Go to the R installation folder and look at the instructions for your distribution.
- Download the RStudio installer for your distribution and install it using your package manager.
R packages
From an R console, you can run the following command to install all the packages used in this course:
install.packages(c("broom",
"corrr",
"distributional",
"downlit",
"downloadthis",
"ggdist",
"ggResidpanel",
"janitor",
"kableExtra",
"knitr",
"lme4",
"patchwork",
"pwr",
"reticulate",
"rstatix",
"tidyverse",
"lmerTest",
"broom.mixed",
"performance",
"see",
"glmmTMB",
"brms",
"MASS",
"RLRsim",
"pbkrtest",
"DHARMa"))