Learn R Programming

phyloregion (version 1.0.2)

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

Arguments

files

list of pairwise distance matrices stored as CSVs or .rds with the same dimensions.

tips

list of site or grid names

...

Further arguments passed to or from other methods.

Value

average distance matrix