Comparing the same multi-panel figure made using facet_wrap, facet_grid, and patchwork (CC242)
Channel: Riffomonas Project
Date: 2022-08-25

It is common to need to make muti-panel figures for scientific publications to have multiple panels. How would we make these types of figures in R? In this episode, Pat shares some of his own thinking as he iterates through using facet_wrap, facet_grid, and patchwork to show the strengths and weaknesses of these approaches with the same data. This episode is a bit different than Pat's other episodes and would love your feedback on this type of content!

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

#facet_wrap #facet_grid #patchwork #R #Rstudio #Rstats

Support Riffomonas by becoming a Patreon member!
https://www.patreon.com/riffomonas

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
5:02 Depicting multiple panels with facet_wrap
9:16 Depicting multiple panels with facet_grid
11:11 Depicting multiple panels with patchwork
16:56 Improving appearance of patchwork panels
25:08 Final tweeks to visual