R course material
This page contains a collection of R tutorials, developed at the Vrije Universiteit Amsterdam for Communication Science courses that use R.
The goal is to organize relevant material into modular components, for more efficient design and maintenance of material, that can be used across courses, and that are accessible to students during and after their studies.
Data mangling in the tidyverse
This is a set of tutorials designed to teach using the tidyverse functions for data cleaning, reshaping, visualizing etc. The chapter numbers are relevant chapters from the excellent (and freely available) book "R for Data Scientists" (R4DS)
|Tutorial||R4DS chapter(s)||Core packages / functions|
|R Basics||4||(base R functions)|
|Transforming Data||5||dplyr: filter, select, arrange, mutate, summarize|
|Visualizing Data||3 & 7||ggplot2|
|Reshaping data||12||tidyr: spread, gather|
|Combining (merging) Data||13||dplyr: inner_join, left_join, etc.|