Three functions to compute distances between (token) matrices are supported:
"euclidean" runs
eucliMats
, which computes tokenwise euclidean distances and averages over them;"procrustes" runs
procrustes
viaprocMats
;"mantel" runs
mantel
viamantelMats
.
Arguments
- mnames
List of model names.
- input_dir
Directory where the models are stored.
- transformed
Whether the distance matrices
- fun
Function to calculate the distances.
- tokens_suffix
Suffix to add to the model name in the file names of the distance matrices.
- row_selection
List of row (and column) names to subset the matrices.