featureCorMatrix {featureCorMatrix} | R Documentation |
featureCorMatrix
returns a correlation matrix between all features
featureCorMatrix(dataframe, absoluteValues = FALSE)
dataframe |
A data.frame |
absoluteValues |
A flag stating if only positive correlations should be returned |
The function selects automatically the appropriate correlation coefficient regarding the storage type of both variables - If both variable are numerical ones, the Pearson product-moment correlation coefficient will be chosen - If both variables are categorical, Cramer's V will be used - If one variable is a numerical and the other a categorical one, the Intraclass correlation will be calculated
A correlation matrix
featureCorMatrix(dataframe = iris, absoluteValues = TRUE)