plot_sim_seq {conversim} | R Documentation |
Plot similarity sequence for a single dyad
plot_sim_seq(similarity, title)
similarity |
A list containing the sequence of similarities and the average similarity |
title |
A character string for the plot title |
This function creates a line plot of the similarity sequence for a single dyad.
A ggplot object
sim_list <- list(
sequence = c(0.5, 0.6, 0.7, 0.6, 0.8),
average = 0.64
)
# Plot the similarity sequence
plot <- plot_sim_seq(sim_list, "Dyad Similarity Sequence")
print(plot)