Using dplyr's group_by function with and without summarize (CC233)

July 25, 2022 • PD Schloss • 1 min read

Did you know you can use dplyr’s group_by function without summarize? This is a powerful tool that we’ll use to normalize monthly average temperatures to the monthly averages between 1951 and 1980. Along the way we’ll see some cool date functions like today, year, and month from the lubridate package and we’ll plot the data with geom_line using the ggplot2 package. We’ll do everything within RStudio.

Code

You can browse the state of the repository at the