This is a helper function for setting up edges that can be used by align_graph. It implements two types of comparisons, 'consecutive' and 'all'. It returns a data frame specifying which topics to compare from across all models.

setup_edges(comparisons, model_names)

Arguments

comparisons

A string describing the type of model comparisons to compute.

model_names

The names of the models to compare. The resulting edge list will refer to models by these names.