Visualizing correlation with double y-axes using the ggplot2 R package (CC235)

August 1, 2022 • PD Schloss • 1 min read

Should you visualize your data using double y-axes? In this Code Club, Pat will show how to assess correlations using ggplot2 using faceted line plots, line plots on double y-axes, and using a scatter plot. Finally, he’ll use cor.test to statistically assess the correlation between two variables. As always, there’s a lot of other great gems to be found in the episode.


You can browse the state of the repository at the