This function generates the mean pairwise distance matrix from a set
many pairwise distance matrices. Note: all matrices should be of the same dimension.
Usage
mean_dist(files, trace = 1, ...)
Arguments
- files
list of pairwise distance matrices stored as CSVs or .rds
with the same dimensions.
- trace
Trace the function; trace = 2 or higher will be more voluminous.
- ...
Further arguments passed to or from other methods.
Value
average distance matrix