comdist.par: Inter-community mean pairwise distance

comdist.parR Documentation

Inter-community mean pairwise distance

Description

Parallel calculation of MPD (mean pairwise distance) separating taxa in two communities, a measure of phylogenetic beta diversity

Usage

comdist.par(comm, dis, abundance.weighted = FALSE, cores = 1, progress = TRUE)

Arguments

comm

Community data matrix with samples as rows

dis

Distance matrix (generally a phylogenetic distance matrix)

abundance.weighted

Should mean nearest taxon distances for each species be weighted by species abundance? (default = FALSE)

cores

How many cores should be used for parallel computing

progress

Show a progress bar

Value

A distance matrix of MPD values


Russel88/MicEco documentation built on Nov. 24, 2022, 2:33 a.m.