2016-10-24 53 views

回答

1

我所知道的最接近的解决方案是在相关矩阵上使用热图,例如,您也可以使用gplots :: heatmap.2。

下面是如何使用heatmaply [R包,它也提供了一个交互式界面,你可以将鼠标悬停在单元格时,放大并得到一个提示去做:

# for the first time: 
# install.packages("heatmaply") 

library(heatmaply) 
my_cor <- cor(mtcars) 
heatmaply_cor(my_cor) 

下面是它的外观:

enter image description here

您可以了解更多关于heatmaply在this vignette