library('corrplot')
library(xts)
library(zoo)
library(PerformanceAnalytics)
setwd("F:/BaiduNetdiskWorkspace/")
#读取数据
a<-readxl::read_xlsx("phe.xlsx",sheet = 1)
#热图+相关性数值
mycor<-cor(a)
corrplot.mixed(mycor,upper='circle')
#带直方图的相关性展示
chart.Correlation(a,histogram = TRUE,pch=19)

相关文章:

  • 2022-12-23
  • 2021-04-26
  • 2021-11-30
  • 2022-01-24
  • 2021-10-04
  • 2021-10-19
  • 2021-07-01
  • 2021-07-02
猜你喜欢
  • 2021-10-21
  • 2022-12-23
  • 2021-09-29
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2021-10-27
相关资源
相似解决方案