This section will contain annotated R code along with worked out examples. If time permits, I will also include videos of me life-coding, so you can see me making programming mistakes in real time!

Useful resources for learning R, the tidyverse and Rmarkdown basics include

To install all R packages used throughout the course, use the command

Code
libs <- c("afex", "car", "dplyr", "emmeans", "effectsize", 
         "ggplot2", "lme4", "lmerTest", "mediation", "nlme", 
         "patchwork", "pwr", "remotes", "tidyr", "WebPower")
for(lib in libs){
  if(!lib %in% installed.packages()[,"Package"]){
   install.packages(lib)
  }
}
# Load package containing databases
remotes::install_github("lbelzile/hecedsm")