comdistnt: Calculates inter-community mean nearest taxon distance

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/phylobeta.R

Description

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

Usage

1
comdistnt(comm, dis, abundance.weighted = FALSE, exclude.conspecifics = FALSE)

Arguments

comm

Community data matrix

dis

Interspecific distance matrix

abundance.weighted

Should mean nearest taxon distances from each species to species in the other community be weighted by species abundance? (default = FALSE)

exclude.conspecifics

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

Details

This metric has also been referred to as MNND (mean nearest neighbour distance).

This function calculates a measure of phylogenetic beta diversity: the average phylogenetic distance to the most similar taxon or individual in the other community for taxa or individuals in two communities.

Value

Distance object of MNTD values separating each pair of communities.

Author(s)

Steven Kembel <steve.kembel@gmail.com>

References

C.O. Webb, D.D. Ackerly, and S.W. Kembel. 2008. Phylocom: software for the analysis of phylogenetic community structure and trait evolution. Bioinformatics 18:2098-2100.

See Also

mntd, ses.mntd

Examples

1
2

picante documentation built on July 1, 2020, 10:57 p.m.