Dendrogram with Corrplot (R)
问题 Does anyone have a method to adorn an R corrplot correlation plot with a dendrogram? 回答1: The closest solution I know of is to use a heatmap on a correlation matrix, for example you could also use gplots::heatmap.2. Here is how to do it using the heatmaply R package, which also offers an interactive interface where you can zoom-in and get a tooltip when hovering over the cells: # for the first time: # install.packages("heatmaply") library(heatmaply) my_cor <- cor(mtcars) heatmaply_cor(my_cor)