Materials for BRL workshops
When: Tuesday, April 2, 2019, 5:30 - 8:00pm
Where: Warren 309
-
Introduction to the grammar of graphics
-
Single and multi-dimensional continuous data
-
Single and multi-dimensional categorical data
-
Combining continuous and categorical data with faceting
-
Introduction to tidying data (to be continued in second workshop)
When: Tuesday, April 11, 2019, 5:30 - 8:00pm
Where: Warren 415
-
Introduction to the tidyverse philosophy, comparison to base R
-
The "main five" dplyr verbs: filter, select, arrange, group_by, summarize
-
Piping in R
-
Tidying data with tidyr
-
Merging datasets with join functions
Before your first workshop, please do the following:
-
Install R from https://cran.r-project.org/
-
Install RStudio Desktop (open source / free version) from https://www.rstudio.com/products/rstudio/download/#download
-
Install tidyverse packages with:
> install.packages("tidyverse")
I will do my best to accommodate different skill levels, however I will assume a general familiarity of base R. If you haven't used R at all previously, I recommend the "R Nuts and Bolts" chapter of Roger Peng's R Programming for Data Science. If you are limited in time, the most important topics to learn / review are: character vs. factor data, and working with data frames. Again, matrices and lists won't come up.
If you're new to ggplot2, please read "Data Visualization" in R for Data Science by Garrett Grolemund and Hadley Wickham to gain a general familiarity with ggplot2 functions.