Last updated on 2020-07-25
If you’ve taken part in any of the sessions, please share your thoughts on the workshop with us by clicking here
The script for session 1 can be downloaded here: Day 1 Session 1
The script for session 2 can be downloaded here: Day 1 Session 2
Selecting elements by position
Logical selecting
Selecting elements in a named vector
Subsetting parts of data tables
Basic data wrangling with tidyverse
Filtering
Selecting
Pulling
Intermediate data wrangling with tidyverse
Pivoting from wide to long and long to wide
Introduction to the pipe operator %>%
Modifying data tables
Summarising data tables
Working with grouped data
Basic Statistics I
The script for session 1 can be downloaded here: Day 2 Session 3
The script for session 2 can be downloaded here: Day 2 Session 4
The script for session 1 and 2 can be downloaded here: Day 3 Session 1 & 2
You should have R and RStudio installed. I’ll be using the latest version of R, which is version 4.0.2, but the last in the version 3 line (e.g., 3.6.3 should also work fine).
If you don’t have RStudio installed then you can launch a cloud version that is identical to the one I’m using.
To get everything set up for the sessions you’ll first need to install a few packages. You can do this by simply copy and pasting the code below into the RStudio console window.
install.packages("xfun")
xfun::pkg_attach2("remotes")
xfun::install_github("ljcolling/teachingtools")
If you want to view these notes inside RStudio then just run the code below
teachingtools::notes()