Correlation

Back to Statistics | shinydp

Correlation matrix - coefficients


Correlation matrix - p values


Correlation matrix is coumputed using the rcorr() function in R packge Hmisc,

specifically, rcorr(as.matrix(data)). See

rcorr: Matrix of Correlations and P-values

Here, data is either the sample data, or the csv file uploaded.

The sample data is derived from the built-in R data set mtcars.

Please make sure the csv file has the same format as the sample data.

Correlation plot is created using the corrplot() function in R packge corrplot:

An Introduction to corrplot Package