I have an easy question. I try to obtain the pearson correlation usng R (corrplot
package). I obtain the correct matrix but I want to obatin the number only in the part down the principal diagonal with the number 1.
I use this script:
cor(Dati_Rsoftware[,1:17], method=c('pearson'))
###Correlation calculation###
library(corrplot)
Bisznia = cor(Dati_Rsoftware[,1:17], method=c('pearson'))
corrplot(Bisznia)
###Matrix###
Thanks for helping. Jo