featureCorMatrix {featureCorMatrix}R Documentation

Calculates the Feature Correlation Matrix

Description

featureCorMatrix returns a correlation matrix between all features

Usage

featureCorMatrix(dataframe, absoluteValues = FALSE)

Arguments

dataframe

A data.frame

absoluteValues

A flag stating if only positive correlations should be returned

Details

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

Value

A correlation matrix

Examples

featureCorMatrix(dataframe = iris, absoluteValues = TRUE)

[Package featureCorMatrix version 0.4.0 Index]