Stylizing the appearance of facet labels with ggplot2's facet_wrap (CC236)
Channel: Riffomonas Project
Date: 2022-08-04

How do you change the appearance of facet labels in the ggplot2 R package? In this episode of Code Club, Pat shows you how to change the location, appearance, and labels within facet labels when using ggplot2's facet_wrap function. He'll also show how you can alter the order of the facets in your figure. The overall goal is to show the amount and probability of precipitation throughout the year using NOAA data from his local weather station

You can find my blog post for this episode at https://www.riffomonas.org/code_club/2022-08-04-facets.

#ggplot2 #dplyr #R #Rstudio #Rstats

Want more practice on the concepts covered in Code Club? You can sign up for my weekly newsletter at https://shop.riffomonas.org/youtube to get practice problems, tips, and insights.

If you're interested in taking an upcoming 3 day R workshop be sure to check out our schedule at https://riffomonas.org/workshops/

You can also find complete tutorials for learning R with the tidyverse using...
Microbial ecology data: https://www.riffomonas.org/minimalR/
General data: https://www.riffomonas.org/generalR/

0:00 Introduction
1:45 Calculating probabilities and quantities of precipitation
7:53 Generating faceted plot
12:43 Constructing y-axis titles
16:51 Improving appearance of figure
19:18 Adding annotation to indicate today