Plot comparison of multiple similarity measures
Source:R/conversation_multidyads_utilities.R
plot_sim_comp.Rd
This function creates a ggplot object comparing multiple similarity measures for the same set of dyads.
Examples
topic_similarities <- list("1" = c(0.5, 0.6, 0.7), "2" = c(0.4, 0.5, 0.6))
lexical_similarities <- list("1" = c(0.6, 0.7, 0.8), "2" = c(0.5, 0.6, 0.7))
comparison_df <- compare_sim_meas(
list(topic_similarities, lexical_similarities),
c("Topic", "Lexical")
)
plot_sim_comp(comparison_df, "Comparison of Similarity Measures")