MSU Programming Camp

Logo

Timeline for Programming Camp

August 21: Intro to R & RStudio

August 22: Tidyverse

August 23: dplyr

August 24: ggplot2 I

August 25: ggplot2 II

Data Structure in R

Today we will begin a trip into the Tidyverse. One of the strongest cases for R is the ease with which it enables us to manipulate data for analyses and generate visualizations. Common manipulations that we need to do to data before we can start descriptive or modeling work include filtering to relevant observations, transforming variables, and generating summary statistics. The Tidyverse set of packages, and dplyr in particular, provide an increasingly popular approach to implement these types of manipulations in R.

Associate Code & Data

Files for the first half of the day

Click here to download necessary code and data for the lecture.

Files for the second half of the day

Click here to download necessary code and data for the lecture.

Additional readings for the interested