MSU Programming Camp

Logo

Timeline for Programming Camp

August 19: Intro to R & RStudio

August 20: Tidyverse

August 21: dplyr

August 22: ggplot2 I

August 23: 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