Calculate correlation between similarity measures
Source:R/conversation_multidyads_utilities.R
calc_sim_cor.Rd
This function calculates the correlation between different similarity measures.
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")
)
calc_sim_cor(comparison_df)
#> Topic Lexical
#> Topic 1 1
#> Lexical 1 1