Data Manipulation in R

College of Forestry Workshop

An introduction to data manipulation in R via dplyr and tidyr. The workshop is aimed at graduate students who have been introduced to R but who haven’t had formal training in how to work with data in R. In this workshop I demonstrate how to make data summaries by group, filter out rows, select specific columns, add new variables, change the format of datasets (i.e., reshape datasets), and join datasets together. Along the way students learn how to use the pipe operator to chain several data manipulation steps together. The workshop ends with time for students to practice their new skills.