Learn R Programming

phyloregion (version 1.0.8)

mean_dist: Mean distance matrix from a set of distance matrices

Description

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, ...)

Value

average distance matrix

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.