Skip to contents

This function creates a ggplot object showing the similarity over time for multiple dyads.

Usage

plot_sim_time(similarities, title, y_label)

Arguments

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

Value

A ggplot object

Examples

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")