how to get R to calculate a matrix of values using each pair of columns code example
Example: correlation matrix in r
result = cor(x, method = "pearson", use = "complete.obs")
round(result,2)
result = cor(x, method = "pearson", use = "complete.obs")
round(result,2)