in R Language by
Q:
correlation Summary

▼ Show 1 Answer

0 votes
by

library

Objective

method

code

Base

bivariate correlation

Pearson

cor(dfx2, method = "pearson")

Base

bivariate correlation

Spearman

cor(dfx2, method = "spearman")

Base

Multivariate correlation

pearson

cor(df, method = "pearson")

Base

Multivariate correlation

Spearman

cor(df, method = "spearman")

Hmisc

P value

rcorr(as.matrix(data[,1:9]))[["P"]]

Ggally

heat map

ggcorr(df)

Multivariate plots

cf code below
Learn More with Madanswer

Related questions

0 votes
asked Nov 14, 2019 in R Language by MBarbieri
...