powered by
Gives a correlation matrix and the probability of Ho for each correlation estimate
cormat(donnees, method = "spearman", sep = FALSE)
a data frame of numerics
a string of characters among 'pearson', 'spearman' (default), 'kendall'
If true, gives the results in two matrices (default = F)
If sep = F (default) a list including:
The method used
Upper triangle, the correlations; lower triangle, the probability of Ho
The correlation matrix
The Ho probability matrix
Wrapper for 'cor' and 'cor.test'. The results can be given in one or two matrices.
cor, cor.test
cor
cor.test
# NOT RUN { cormat(longley) cormat(longley,sep=TRUE) # }
Run the code above in your browser using DataLab