This function takes as its arguments what straitgraphic congruence measure you want from a file of dataset of stratigraphic congruence metrics. Assumes by default that you want to group by the column that says whether the analysis was Bayesian or not.

generate_fig_s1(files, measure, by_col = "Bayes")

Arguments

files

a list of datafiles you'd like the process

measure

Which stratigraphic congruence measure you'd like to look at

by_col

If you'd like the results grouped. Defaults to a column called "Bayes"

Value

summary a data frame showing mean scores for your metric of choice, grouped by the by_col col