comdistnt.par: Inter-community mean nearest taxon distance

Description Usage Arguments Value

View source: R/comdistnt.par.R

Description

Parallel calculation of MNTD (mean nearest taxon distance) separating taxa in two communities, a measure of phylogenetic beta diversity

Usage

1
2
comdistnt.par(comm, dis, abundance.weighted = FALSE,
  exclude.conspecifics = 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)

exclude.conspecifics

Should conspecific taxa in different communities be exclude from MNTD calculations? (default = FALSE)

cores

How many cores should be used for parallel computing'

progress

Show a progress bar

Value

A distance matrix of MNTD values


Russel88/MicEco documentation built on Feb. 10, 2019, 5:38 a.m.