Create a heatmap of similarity measures for a single dyad
Usage
heatmap_sim(similarities, titles)
Arguments
- similarities
A list of similarity measures for a single dyad
- titles
A character vector of titles for each similarity measure
Details
This function creates a heatmap of multiple similarity measures for a single dyad.
Examples
sim1 <- list(sequence = c(0.5, 0.6, 0.7, 0.6, 0.8), average = 0.64)
sim2 <- list(sequence = c(0.4, 0.5, 0.6, 0.7, 0.7), average = 0.58)
similarities <- list(sim1, sim2)
titles <- c("Measure 1", "Measure 2")
# Plot multiple similarity measures
plot <- plot_sim_multi(similarities, titles)
print(plot)