TidyX Episode 137: Magically Multiplying Tabbed Reports

This week, Ellis Hughes and I answer a view question about plotting in different tabs within an {Rmarkdown} report. The issue the viewer was running into was that they had a lot of groups that they wanted to create the same plot for and have a tab representing each of those individual groups. Rather than copying and pasting the tab code hundreds of times (and risk messing up and not changing the data for one of the groups) we walk through a quick approach to have R do this for you in a loop. In literally 20 lines of code you can plot as many tabs as you’d like!

To watch the screen cast, CLICK HERE.

To access our code, CLICK HERE.