Description Usage Arguments Value Author(s) References Examples
The mean pairwise functional between each pair of communities, Dpw, is calculated with abundance weighting.
1 | new.comdist.prime(my.sample, my.dist.mat)
|
my.sample |
A community data matrix |
my.dist.mat |
A square trait distance matrix not a dist object |
new.comdist.prime The presence-absence weighted mean pairwise functional distance between species in each of the two communities.
Nathan G. Swenson
Swenson, N.G. 2014. Functional and Phylogenetic Ecology in R. Springer UseR! Series, Springer, New York, New York, U.S.A.
1 2 3 4 | data(lefse.sample)
data(lefse.traits)
mat = as.matrix(dist(lefse.traits))
new.comdist.prime(lefse.sample, mat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.