How can I create a correlation matrix in R?

后端 未结 5 775
情深已故
情深已故 2020-11-27 10:24

I have 92 set of data of same type.

I want to make a correlation matrix for any two combination possible.

i.e. I want a matrix of 92 x92.

such that e

5条回答
  •  被撕碎了的回忆
    2020-11-27 10:43

    Have a look at qtlcharts. It allows you to create interactive correlation matrices:

    library(qtlcharts)
    data(iris)
    iris$Species <- NULL
    iplotCorr(iris, reorder=TRUE)
    

    It's more impressive when you correlate more variables, like in the package's vignette:

提交回复
热议问题