GeneralCor {TangledFeatures} | R Documentation |
Generalized Correlation function
GeneralCor(df, cor1 = "pearson", cor2 = "polychoric", cor3 = "spearman")
df |
The imported Data Frame |
cor1 |
The correlation metric between two continuous features. Defaults to pearson |
cor2 |
The correlation metric between one categorical feature and one cont feature. Defaults to biserial |
cor3 |
The correlation metric between two categorical features. Defaults to Cramers-V |
Returns a correlation matrix containing the correlation values between the features
GeneralCor(df = TangledFeatures::Advertisement)