Plot Correlation Heatmap for a Single Dyad
Usage
plot_cor_heatmap(cor_matrix, titles)
Arguments
- cor_matrix
A correlation matrix for a single dyad
- titles
A character vector of titles for each similarity measure
Details
This function creates a heatmap of correlations between similarity measures for a single dyad.
Examples
sim1 <- list(sequence = c(0.8, 0.7, 0.9), average = 0.8)
sim2 <- list(sequence = c(0.6, 0.8, 0.7), average = 0.7)
cor_matrix <- cor_sim_seq(list(sim1, sim2))
plot_cor_heatmap(cor_matrix, c("Topic", "Lexical"))