Correlation

library(TangledFeatures)

Introduction

We attempt to link similar features on the basis of correlation. TangledFeatures automatically detects the type of correlation needed between two features. We currently generate the correlations between numeric, unordered categorical variables and ordered categorical variables You can set the correlation type based upon the data set you have within the package.

You can also generate the correlation heat map for the entire data set as well as the interconnected network graph

Correlation types

Correlation Visualization

Set plot = TRUE in the initial function

We can generate the heat map from the final TangledFeatures object

plot_obj <- TangledFeatures(Data)$Correlation_heatmap
plot(plot_obj)

We can generate the interconnected graph as well

plot_obj <- TangledFeatures(Data)$Graph_plot
plot(plot_obj)