Internal: Matrix difference
Calculates the average of the differences between all possible pairs of (symmetric) matrices in a list using a given distance measure.
calculateDistance( .matrices = NULL, .distance = args_default()$.distance )
A list of at least two matrices.
Character string. A distance measure. One of: "geodesic" or "squared_euclidian". Defaults to "geodesic".
.matrices must be a list of at least two matrices. If more than two matrices
are supplied the arithmetic mean of the differences between all possible pairs of
(symmetric) matrices in a list is computed. Mathematically this is
n chose 2. Hence, supplying a large number of matrices will
become computationally challenging.
Currently two distance measures are supported:
(Default) The geodesic distance.
The squared Euclidian distance
A numeric vector of length one containing the (arithmetic) mean of
the differences between all possible pairs of matrices supplied via