GeneralCor {TangledFeatures}R Documentation

Generalized Correlation function

Description

Generalized Correlation function

Usage

GeneralCor(df, cor1 = "pearson", cor2 = "polychoric", cor3 = "spearman")

Arguments

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

Value

Returns a correlation matrix containing the correlation values between the features

Examples

GeneralCor(df = TangledFeatures::Advertisement)

[Package TangledFeatures version 0.1.1 Index]