Week 1

This is an introduction to atomic vectors (the basic building block) in R:

S3 vectors are slightly more complex (these include factors, dates, date-times, and difftimes), have multiple classes and attributes, and are an essential part of data analysis and visualization:

Week 2

After loading or creating a data object in R, we need to be able to extract or manipulate these data. These exercises cover subsetting in R:

Nearly all of the data we’ll encounter in R will be rectangular (like a spreadsheet). In R, the two forms of rectangular are data.frames and tibbles.

Week 3

ggplot2 is an excellent package for building data visualizations and graphs in R. These exercises introduce you to the grammar and syntax.

Week 4

Week 5

Week 6

Week 7

Week 8

Week 9

Week 10

Week 11

Week 12

Week 13

Week 14

Week 15

Week 16

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.