plot_sim_time {conversim} | R Documentation |
This function creates a ggplot object showing the similarity over time for multiple dyads.
plot_sim_time(similarities, title, y_label)
similarities |
A list of similarity sequences for each dyad |
title |
A string specifying the plot title |
y_label |
A string specifying the y-axis label |
A ggplot object
similarities <- list(
"1" = c(0.5, 0.6, 0.7),
"2" = c(0.4, 0.5, 0.6)
)
plot_sim_time(similarities, "Topic Similarity", "Similarity Score")
print(plot)