Before we start


Figure 1

RStudio interface screenshot. Clockwise from top left: Source,Environment/History, Files/Plots/Packages/Help/Viewer,Console.

Figure 2

Set 'Save workspace to .RData on exit' to'Never'

Figure 3

How it should look like at the beginning of this lesson
How it should look like at the beginning of this lesson

Figure 4

RStudio help panel. When typing a word in the search field, it will showrelated suggestions.

Figure 5

RStudio shows a red x next to a line of code that R doesn't understand.

Figure 6


Introduction to R


Starting with data


Figure 1


Figure 2


Figure 3


Figure 4


Manipulating, analyzing and exporting data with tidyverseData manipulation using dplyr and tidyr Exporting data


Figure 1


Figure 2


Figure 3


Data visualization with ggplot2


Figure 1


Figure 2


Figure 3


Figure 4


Figure 5


Figure 6


Figure 7


Figure 8


Figure 9


Figure 10


Figure 11


Figure 12


Figure 13


Figure 14


Figure 15


Figure 16


Figure 17


Figure 18


Figure 19


Figure 20


Figure 21


Figure 22


Figure 23


Figure 24


Figure 25


Figure 26


Figure 27


Figure 28


Control Flow