powered by
This function creates a ggplot object showing summary statistics for similarities of multiple dyads.
plot_sum_stats(summary_stats, title)
A ggplot object
A data frame with summary statistics for each dyad
A string specifying the plot title
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") print(plot)
Run the code above in your browser using DataLab