comdist: Calculates inter-community mean pairwise distance

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

Description

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

Usage

1
comdist(comm, dis, abundance.weighted = FALSE)

Arguments

comm

Community data matrix

dis

Interspecific distance matrix

abundance.weighted

Should mean pairwise distances separating species in two communities be weighted by species abundances? (default = FALSE)

Details

This function calculates a measure of phylogenetic beta diversity: the expected phylogenetic distance separating two individuals or taxa drawn randomly from different communities.

Value

Distance object of MPD 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

mpd, ses.mpd

Examples

1
2
data(phylocom)
comdist(phylocom$sample, cophenetic(phylocom$phylo), abundance.weighted=TRUE)

picante documentation built on May 2, 2019, 6:30 p.m.