options(pkgType = "binary")
update.packages(ask = FALSE)
Prerequisites
Install/Update R & RStudio
Make sure you have installed both R and RStudio on your computer. You may have done this previously for DAPR2, in which case it is probably worth doing some updates.
Please make sure to read and follow the instructions below slowly and carefully!!
Update Packages
It’s worth keeping packages up to date, so it might be worth updating all your packages.
Running this code will update all your packages. Just put it into the console (bottom left bit of RStudio):
New packages!
Now it is probably worth installing a few of the packages that we will be using in DAPR3. There are a few that we will need. For each one, check whether you have it already installed, because there’s not much point wasting time re-installing something you already have!
- tidyverse : for organising data
- lme4 : for fitting generalised linear mixed effects models
- broom.mixed : tidying methods for mixed models
- effects : for tabulating and graphing effects in linear models
- lmerTest: for quick p-values from mixed models
- parameters: various inferential methods for mixed models