Steven Sanderson shows two packages for building heatmaps in R:
Data visualization is a powerful tool for understanding the relationships between variables in a dataset. One of the most common and insightful ways to visualize correlations is through heatmaps. In this blog post, we’ll dive into the world of correlation heatmaps using R, using the
mtcars
andiris
datasets as examples. By the end of this post, you’ll be equipped to create informative correlation heatmaps on your own.
Read on to see how to build heatmaps with the corrplot
and ggcorrplot
packages.