Calculates correlations among groups defined by a category column.

Input data should contain categorical columns and numeric columns.

Category Column - Categorical column that defines the groups among which correlations are calculated.

Measured By Column - Column that defines dimension to calculate correlation. For each group, measure is aggregated for each value of this column, forming a vector that represents the group. Then, correlations are calculated among these vectors. If Date/POSIXct column is specified, measure is aggregated for each period of time (day, week, etc.) that is specified.

Measure Column - Numeric column that is used to calculate correlation.

Method - Method to calculate correlations. The default is "Pearson". This can be:

Pearson

Kendall

Spearman

Show Only Lower Triangle - Show only lower triangle of the matrix, avoiding showing correlations for same pairs twice.

Show Diagonal Values - Show values on diagonal of the matrix, which should always have correlation of 1.

Click Analytics View tab.

If necessary, click "+" button on the left of existing Analytics tabs, to create a new Analytics.

Select "Correlation by Categories" for Analytics Type.

Select Category Columns that you want to see correlation.

Select Measured By Columns that you want to summarize measure column.

Select Measure Column that you want to use to calculate correlation.

Click Run button to run the analytics.

Select view type (explained below) by clicking view type link to see each type of generated visualization.

"Correlation Matrix" View displays correlations with Heatmap. Red color means it has positive correlation and Blue color means it has negative correlation. The darker the color, the stronger the correlation.

"Positive Correlations" View displays the most positive 100 correlations. You can click Column Header for Correlation to sort the data by Correlation value.

"Negative Correlations" View displays the most negative 100 correlations... You can click Column Header for Correlation to sort the data by Correlation value.

The `Correlation by Category`

uses `cor`

function from `stats`

R Package under the hood.

For details about `stats`

usage in Exploratory R Package, please refer to the github repositoryâ€‹