Skip to contents

This function creates a ggplot object showing summary statistics for similarities of multiple dyads.

Usage

plot_sum_stats(summary_stats, title)

Arguments

summary_stats

A data frame with summary statistics for each dyad

title

A string specifying the plot title

Value

A ggplot object

Examples

similarities <- list(
  "1" = c(0.5, 0.6, 0.7),
  "2" = c(0.4, 0.5, 0.6)
)
stats <- calc_sum_stats(similarities)
plot_sum_stats(stats, "Summary Statistics of Similarities")